Project Date
NLTEST 22 Mar 2022, 04:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
src/test/java/InspireTest/ngr/T02_Services.feature 17056 0 0 0 0 17056 328 0 328 3m 5s 993ms Passed
Tags: @step1
Feature src/test/java/InspireTest/ngr/T02_Services.feature
get details
020ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:53.314 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 006ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 012ms
Tags: @step1
748ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5471a93b-cf18-43f5-9ddb-71987857435d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 706ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5471a93b-cf18-43f5-9ddb-71987857435d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 005ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 006ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 007ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:54.068 [print] https://www.broinspireservices.nl/wfs/oshhgqm-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:54.069 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:54.070 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:54.071 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:54.072 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:54.072 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 002ms
04:55:54.077 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 003ms
04:55:54.081 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:54.083 [print] "true";"true" 
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
013ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:53.323 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 011ms
Tags: @step1
742ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '755d488b-7b94-4883-95be-6aa279604f85' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 002ms
When method get 698ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '755d488b-7b94-4883-95be-6aa279604f85' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 012ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:54.059 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:54.061 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:54.062 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:54.062 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:54.063 [print] RIVM 
* print operateson 000ms
04:55:54.063 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 007ms
04:55:54.073 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
04:55:54.075 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:54.077 [print] "true";"true";"true" 
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
010ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:53.342 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 008ms
Tags: @step1
622ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 585ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:53.950 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:53.952 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:53.953 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:53.954 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:53.955 [print] RIVM 
* print operateson 000ms
04:55:53.956 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:53.959 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:53.961 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:53.962 [print] "true";"true";"true" 
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 008ms
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 005ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:53.335 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
690ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '23aa5150-fcc7-46ea-ae63-a7f198d8bc18' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 666ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '23aa5150-fcc7-46ea-ae63-a7f198d8bc18' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:54.018 [print] https://inspire.rivm.nl/geoserver/airq/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:54.020 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:54.021 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:54.022 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:54.023 [print] RIVM 
* print operateson 000ms
04:55:54.024 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:54.026 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:54.028 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:54.030 [print] "true";"true";"true" 
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:53.982 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
586ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '73286af2-d0f4-4a62-9455-86ffa45ef279' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 566ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73286af2-d0f4-4a62-9455-86ffa45ef279' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:54.560 [print] https://www.gdngeoservices.nl/inspire/wfs/zoutvelden_en_productieputten?service=WFS&request=GetCapabilities&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:54.561 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:54.562 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:54.563 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:54.564 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:54.564 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:54.566 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:54.567 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:54.568 [print] "true";"true" 
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:54.043 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
570ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 550ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:54.604 [print] https://www.gdngeoservices.nl/inspire/wms/zoutvelden_en_productieputten?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:54.605 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:54.606 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:54.606 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:54.607 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:54.608 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:54.609 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:54.610 [print] "Technical Guidance for the implementation of INSPIRE View Services";"De service voldoet niet aan de richtlijnen van INSPIRE vanwege technische beperkingen";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:54.612 [print] "false";"false" 
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 003ms
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:54.088 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
583ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5be1b57b-2cac-4119-92eb-700346543d47' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 549ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be1b57b-2cac-4119-92eb-700346543d47' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:54.648 [print] https://inspire.caris.nl/geoserver/mu/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:54.649 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 016ms
* print protocol2 000ms
04:55:54.666 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:54.670 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:55:54.671 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:54.672 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:54.674 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:54.675 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Dataset is geharmoniseerd";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:54.676 [print] "true";"true" 
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:54.089 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 002ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
606ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7af7b20d-3f8a-4d7f-8124-73980535a4f6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 588ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7af7b20d-3f8a-4d7f-8124-73980535a4f6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:54.696 [print] https://www.broinspireservices.nl/arcgis/services/inspire/inspire_dgm_rd/MapServer/WMSServer?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:54.698 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:54.699 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:54.699 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:54.701 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:54.701 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:54.703 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:54.705 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:54.706 [print] "true";"true" 
* eval db.writeln('"7af7b20d-3f8a-4d7f-8124-73980535a4f6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7af7b20d-3f8a-4d7f-8124-73980535a4f6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7af7b20d-3f8a-4d7f-8124-73980535a4f6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:54.574 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
554ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f0eb64f9-8888-42e1-9550-bf91c32da4bc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0eb64f9-8888-42e1-9550-bf91c32da4bc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:55.124 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:55.125 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:55.126 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:55.126 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:55.127 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:55:55.128 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:55.130 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:55.131 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:55.132 [print] "false";"false" 
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:54.619 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
569ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '589a9223-7588-4cd7-93aa-5373a12d8cea' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 550ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '589a9223-7588-4cd7-93aa-5373a12d8cea' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:55.179 [print] https://service.pdok.nl/kadaster/hy/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:55.180 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:55:55.182 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:55.182 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:55.183 [print] Beheer PDOK 
* print operateson 000ms
04:55:55.184 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:55.185 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:55.187 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:55.188 [print] "true";"true" 
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:54.687 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dd414384-0bcb-4188-86e2-2843e12a579e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 529ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd414384-0bcb-4188-86e2-2843e12a579e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:55.229 [print] https://www.broinspireservices.nl/wfs/ossosgm-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:55.230 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:55.231 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:55.231 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:55.232 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:55.232 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:55.234 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:55.235 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:55.236 [print] "true";"true" 
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 003ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:54.711 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
565ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '76342a6d-452e-4e21-b5c0-81ff7b1be90e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 542ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76342a6d-452e-4e21-b5c0-81ff7b1be90e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:55.265 [print] https://www.broinspireservices.nl/wfs/ossobor-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:55:55.267 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:55.268 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:55.268 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:55.269 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:55.269 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:55.271 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:55.272 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:55.273 [print] "true";"true" 
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 006ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:55.137 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ff8f6da2-949e-4838-90f6-fd895a4a240f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff8f6da2-949e-4838-90f6-fd895a4a240f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:55.677 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:55:55.679 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:55.680 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:55.680 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:55.681 [print] RIVM 
* print operateson 000ms
04:55:55.682 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:55.683 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:55.684 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:55.686 [print] "true";"true";"true" 
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:55.193 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'KKHRN250-DXU9-167I-W6SO-8566T16B30VE' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'KKHRN250-DXU9-167I-W6SO-8566T16B30VE' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:55.738 [print] https://www.broinspireservices.nl/arcgis/services/inspire/inspire_geotop_rd/MapServer/WMSServer?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:55.740 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:55.741 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:55.741 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:55.742 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:55.742 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=7D35598D-DFBF-C64D-0F1A-92A80A45EB14&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:55.744 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:55.746 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:55.747 [print] "true";"true" 
* eval db.writeln('"KKHRN250-DXU9-167I-W6SO-8566T16B30VE","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"KKHRN250-DXU9-167I-W6SO-8566T16B30VE","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"KKHRN250-DXU9-167I-W6SO-8566T16B30VE","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:55.245 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
555ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '95e2c712-1b91-4f24-9453-c56b95227717' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 536ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95e2c712-1b91-4f24-9453-c56b95227717' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 002ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:55.793 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:55.794 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:55.795 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:55.795 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:55.796 [print] RIVM 
* print operateson 000ms
04:55:55.796 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:55.798 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:55.800 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:55.801 [print] "true";"true";"true" 
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:55.283 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 002ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
558ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f61eec5c-cb91-40b6-ad35-9bca967006cc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f61eec5c-cb91-40b6-ad35-9bca967006cc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:55.836 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:55.837 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:55.838 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:55.838 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:55.839 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:55:55.839 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:55.842 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:55.843 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:55.844 [print] "false";"false" 
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:55.691 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
593ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 572ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:56.275 [print] https://inspire.caris.nl/geoserver/gnwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:56.276 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:56.277 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:56.278 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:56.279 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:56.279 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:56.281 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:56.283 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:56.284 [print] "true";"true" 
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:55.751 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
561ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2d1860f2-f8ba-457e-bd64-93cdabd69aee' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2d1860f2-f8ba-457e-bd64-93cdabd69aee' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 002ms
* print connectUrl 000ms
04:55:56.303 [print] https://inspire.caris.nl/geoserver/auwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:56.304 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 001ms
04:55:56.307 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:56.308 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:56.309 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:56.309 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:56.311 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:56.313 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:56.314 [print] "true";"true" 
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:55.805 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 002ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
605ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1e2cb7d4-934a-437a-809e-fda67b4a8824' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 539ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1e2cb7d4-934a-437a-809e-fda67b4a8824' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 033ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 004ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:56.395 [print] https://inspire.caris.nl/geoserver1/mu/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:56.396 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:56.397 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:56.397 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:56.398 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:56.398 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:56.401 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 007ms
* print corConformanceTitles 000ms
04:55:56.409 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 003ms
* print corConformancePass 000ms
04:55:56.414 [print] "true";"true" 
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:55.849 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
569ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 008ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:56.404 [print] https://www.broinspireservices.nl/wms/osgegmw-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:55:56.406 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:56.406 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:56.407 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:56.408 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:56.408 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:56.411 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:56.412 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 003ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:56.416 [print] "true";"false" 
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 004ms
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
008ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:56.291 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 003ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 003ms
Tags: @step1
565ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '224d93f6-0e4e-41fe-8424-1ab11a6c55ed' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 544ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '224d93f6-0e4e-41fe-8424-1ab11a6c55ed' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:56.861 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:56.862 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:56.863 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:56.864 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:56.865 [print] RIVM 
* print operateson 000ms
04:55:56.865 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:56.868 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:56.870 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:56.871 [print] "true";"true";"true" 
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:56.319 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
571ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b7880739-a701-4cc0-bb32-2bba61fa8924' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 554ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b7880739-a701-4cc0-bb32-2bba61fa8924' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:56.884 [print] https://www.gdngeoservices.nl/inspire/wms/aardwarmte?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:56.885 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:56.886 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:56.886 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:56.887 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:56.887 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:56.889 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:56.890 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:56.891 [print] "true";"false" 
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:56.425 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
608ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7b4a0b26-5885-45cd-a99d-27887cff68e5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 577ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b4a0b26-5885-45cd-a99d-27887cff68e5' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:57.015 [print] https://www.broinspireservices.nl/wms/ossosgm-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:57.016 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:55:57.017 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:57.017 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 004ms
04:55:57.023 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:57.023 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:57.025 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:57.026 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:57.027 [print] "true";"false" 
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 007ms
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:56.435 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
610ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0d2ca03b-fb7b-466a-bb93-e2bfb596e394' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 575ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d2ca03b-fb7b-466a-bb93-e2bfb596e394' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 002ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 005ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:57.029 [print] https://inspire.caris.nl/gs5/pssa_nl/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:57.030 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:55:57.031 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:57.031 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:57.032 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:57.032 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 004ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:57.039 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:57.039 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 003ms
04:55:57.046 [print] "true";"true" 
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:56.876 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '081bcfff-5f66-467c-95d0-d88dcf9aa4cf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '081bcfff-5f66-467c-95d0-d88dcf9aa4cf' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:57.423 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:57.424 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:57.425 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:57.425 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:57.426 [print] RIVM 
* print operateson 000ms
04:55:57.426 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:57.428 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:57.429 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:57.430 [print] "true";"true";"true" 
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:56.895 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
578ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0606e8cb-fa51-402c-a3be-19fd724b0a10' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 554ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0606e8cb-fa51-402c-a3be-19fd724b0a10' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:57.460 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:57.460 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:57.461 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:57.461 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:57.462 [print] RIVM 
* print operateson 000ms
04:55:57.462 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:57.464 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:57.465 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:57.466 [print] "true";"true";"true" 
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 009ms
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:57.042 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '91041d33-54f8-40f1-8965-a867ba00cab8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91041d33-54f8-40f1-8965-a867ba00cab8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:57.586 [print] https://inspire.caris.nl/geoserver2/gn/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:57.587 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:57.588 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:57.588 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:57.589 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:57.590 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:57.592 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:57.594 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:57.595 [print] "true";"true" 
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:57.055 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
582ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1492fa63-96e2-406d-9a27-6affe281d848' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 566ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1492fa63-96e2-406d-9a27-6affe281d848' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:57.630 [print] https://inspire.caris.nl/geoserver2/mu/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:57.631 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:57.632 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:57.633 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:55:57.634 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:57.634 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:57.636 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:57.637 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:57.638 [print] "true";"true" 
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:57.434 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
565ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '745968a3-37af-4406-988e-ec595f58c7fe' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 542ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '745968a3-37af-4406-988e-ec595f58c7fe' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:57.989 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:57.990 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:57.990 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:57.991 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:57.991 [print] RIVM 
* print operateson 000ms
04:55:57.991 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:57.993 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:57.994 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:57.995 [print] "true";"true";"true" 
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 006ms
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:57.480 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:58.020 [print] https://www.gdngeoservices.nl/inspire/wms/oppervlaktegeologie?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:58.021 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:58.022 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:58.022 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:58.024 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:58.024 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:58.026 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:58.027 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:58.028 [print] "true";"false" 
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:57.599 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '42da491e-d8b9-47ba-af65-acb15ea8a055' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42da491e-d8b9-47ba-af65-acb15ea8a055' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:58.146 [print] https://www.broinspireservices.nl/wms/osamepl-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:58.147 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:58.148 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:58.148 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:58.149 [print]  
* print operateson 000ms
04:55:58.149 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:58.150 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:58.151 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:58.152 [print] "true";"false" 
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:57.642 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
562ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b4485d59-a945-4940-a2f5-3ce7de6a947b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 546ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4485d59-a945-4940-a2f5-3ce7de6a947b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:58.198 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:58.199 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:58.199 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:58.200 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:58.200 [print] RIVM 
* print operateson 000ms
04:55:58.200 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:58.202 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:58.203 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:58.204 [print] "true";"true";"true" 
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:58.007 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fa3ecd49-4571-4eb3-84f3-2865f42934b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa3ecd49-4571-4eb3-84f3-2865f42934b2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:58.550 [print] https://www.gdngeoservices.nl/inspire/wfs/olie_en_gasvelden?service=WFS&request=GetCapabilities&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:58.550 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:58.551 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:58.552 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:58.553 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:58.553 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:58.555 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:58.556 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:58.557 [print] "true";"true" 
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:58.033 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e29b19de-d191-47f2-b944-5056a7674cce' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e29b19de-d191-47f2-b944-5056a7674cce' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:58.575 [print] https://inspire.caris.nl/gs5/am/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:58.576 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 001ms
04:55:58.578 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:58.579 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:58.580 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:58.580 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:58.582 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:58.583 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:58.585 [print] "true";"true" 
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:58.157 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '923a666c-ee4f-496c-8c85-94d5f81e1f30' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 529ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '923a666c-ee4f-496c-8c85-94d5f81e1f30' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:58.697 [print] https://inspire.caris.nl/gs5/am/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:58.698 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:58.699 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:58.699 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:58.700 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:58.701 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:58.703 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:58.704 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:58.705 [print] "true";"true" 
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:58.215 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
578ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '777f41ee-8269-4bbc-b0e4-f889c62be099' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 544ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '777f41ee-8269-4bbc-b0e4-f889c62be099' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:58.771 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:58.772 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:58.773 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:58.773 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:58.775 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:55:58.775 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 013ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 001ms
* print corConformanceHref 000ms
04:55:58.791 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:58.793 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:58.794 [print] "false";"false" 
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:58.561 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
568ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c7dad4b9-42a8-452f-a33b-d4938ed22142' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 552ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7dad4b9-42a8-452f-a33b-d4938ed22142' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:59.124 [print] https://inspire.caris.nl/gs5/MarineRegion/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:59.124 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:59.125 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:59.126 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:59.126 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:59.127 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:59.128 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:59.129 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:59.130 [print] "true";"true" 
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:58.589 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
565ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'feeae7d3-7485-4a39-895c-ed65e945ced0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 544ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'feeae7d3-7485-4a39-895c-ed65e945ced0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 004ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:59.147 [print] https://www.broinspireservices.nl/arcgis/services/inspire/inspire_regis_rd/MapServer/WMSServer?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:59.148 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:59.149 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:59.149 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:59.150 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:55:59.150 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=E7D9F0D6-2B8D-6699-F26E-4A781228F2DD&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:59.152 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:59.153 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:59.156 [print] "true";"true" 
* eval db.writeln('"feeae7d3-7485-4a39-895c-ed65e945ced0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"feeae7d3-7485-4a39-895c-ed65e945ced0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"feeae7d3-7485-4a39-895c-ed65e945ced0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:58.710 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
543ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '539ec652-482d-4806-a830-0458cf8be477' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 521ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '539ec652-482d-4806-a830-0458cf8be477' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:59.243 [print] http://data.waterkwaliteitsportaal.nl/inspire/vs/EF 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:59.245 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:59.246 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:59.247 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:59.248 [print] Informatiehuis Water 
* print operateson 001ms
04:55:59.249 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:59.251 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:59.253 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Zie de gerefereerde specificatie.";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:59.255 [print] "false";"true";"true" 
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:58.802 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f3e68b05-f5c8-4796-bc67-33a3db1c1d65' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f3e68b05-f5c8-4796-bc67-33a3db1c1d65' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:59.343 [print] https://inspire.caris.nl/geoserver/mu/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:59.344 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:55:59.345 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:59.346 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:59.347 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:59.347 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:59.349 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:59.350 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:59.351 [print] "true";"true" 
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:59.141 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
561ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a6098c24-4caf-4528-954c-672b9ec6cf78' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 541ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6098c24-4caf-4528-954c-672b9ec6cf78' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:59.694 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:59.695 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:59.696 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:59.696 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:59.697 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:55:59.698 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:59.700 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:59.701 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:59.702 [print] "false";"false" 
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:59.160 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
562ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '823c5f01-5d11-481b-aa5f-e191d129365f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 541ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '823c5f01-5d11-481b-aa5f-e191d129365f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 004ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:59.716 [print] https://service.pdok.nl/kadaster/gn/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:59.717 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:59.718 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:59.718 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:59.719 [print] Beheer PDOK 
* print operateson 000ms
04:55:59.719 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:59.723 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:59.724 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:59.725 [print] "true";"true" 
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:59.260 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
555ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '97b49056-8ace-426c-ae3e-bf7efe4c000f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 539ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97b49056-8ace-426c-ae3e-bf7efe4c000f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:59.811 [print] https://inspire.caris.nl/geoserver/auwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:59.812 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:59.812 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:59.813 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:59.813 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:59.813 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:59.815 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:59.817 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:59.818 [print] "true";"true" 
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:59.355 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 004ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
558ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '17ad94f6-4961-448b-a6f5-5368b7870409' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 544ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17ad94f6-4961-448b-a6f5-5368b7870409' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:55:59.922 [print] https://inspire.caris.nl/geoserver3/bathy_wcs/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:55:59.922 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:55:59.923 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:55:59.923 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:55:59.924 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:55:59.924 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:55:59.926 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:55:59.927 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:55:59.928 [print] "true";"true" 
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
010ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:59.709 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 006ms
* eval db.ensureDirectory(outputpath) 002ms
Tags: @step1
555ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540z0b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540z0b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:00.268 [print] https://service.pdok.nl/kadaster/adressen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:00.268 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:00.269 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:00.270 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:00.270 [print] Beheer PDOK 
* print operateson 000ms
04:56:00.270 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:00.272 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:00.274 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:00.275 [print] "true";"true" 
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:59.731 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
580ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '49ff0584-a173-4098-824c-119edf8447f7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 557ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ff0584-a173-4098-824c-119edf8447f7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 004ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
04:56:00.304 [print] https:\/\/services.rce.geovoorziening.nl\/rce\/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:00.305 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:00.306 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:00.306 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:00.307 [print] Rijksdienst voor het Cultureel Erfgoed 
* print operateson 000ms
04:56:00.308 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6f84efeb-fc1d-4565-a721-80735ea57dbd#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=88a3c1ae-902e-4efa-8663-ddd836101929#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:00.311 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:00.312 [print] "Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie";"Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:00.313 [print] "true";"true" 
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:59.822 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
541ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '87a382da-c6dc-403c-a006-2379eb6daaa6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 526ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '87a382da-c6dc-403c-a006-2379eb6daaa6' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:00.358 [print] https://inspire.caris.nl/gs5/pssa_nl/ows?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:00.359 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:00.360 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:00.360 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:00.361 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:00.361 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:00.363 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:00.364 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:00.364 [print] "true";"true" 
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:55:59.932 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
566ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 548ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:00.490 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:00.491 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:00.492 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:00.493 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:00.494 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:00.494 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:00.496 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:00.498 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:00.499 [print] "false";"false" 
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:00.279 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6b608d4e-5628-4d59-97fc-0322c57357b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6b608d4e-5628-4d59-97fc-0322c57357b2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:00.824 [print] https://geodata.nationaalgeoregister.nl/schelpdierenpercelen/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:00.825 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:00.826 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:00.826 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:00.827 [print] Beheer PDOK 
* print operateson 003ms
04:56:00.830 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:00.832 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:00.834 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:00.835 [print] "true";"true" 
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:00.317 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
563ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ef2a7962-8bb4-483f-ca52-85123f579' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 546ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ca52-85123f579' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:00.875 [print] http://data.waterkwaliteitsportaal.nl/inspire/ds/nl.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:00.877 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:00.877 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:00.878 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:00.879 [print] Informatiehuis Water 
* print operateson 000ms
04:56:00.879 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:00.881 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:00.883 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"notEvaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:00.884 [print] "false";"true";"true" 
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:00.368 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 002ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
578ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd467c2cc-4026-b80a-d4e1a9d2bf79' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd467c2cc-4026-b80a-d4e1a9d2bf79' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:00.918 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/hy-n\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:00.919 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:00.920 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:00.920 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:00.922 [print] Beheer PDOK 
* print operateson 000ms
04:56:00.922 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:00.924 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:00.925 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 018ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:00.945 [print] "true";"true" 
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 004ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:00.503 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
585ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '702060c1-b3fd-44ec-8cc6-d4249d150110' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 538ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '702060c1-b3fd-44ec-8cc6-d4249d150110' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 011ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 009ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:01.072 [print] http://services.inspire-provincies.nl/HabitatsAndBiotopes/services/download_HB?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:01.074 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:01.075 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 007ms
04:56:01.082 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:01.084 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:56:01.085 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:01.087 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:01.089 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:01.090 [print] "false";"true";"true" 
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:00.841 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
581ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0426f471-f325-42ed-a775-81c397592e86' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 557ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0426f471-f325-42ed-a775-81c397592e86' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:01.411 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:01.413 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:01.414 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:01.415 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:01.416 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:01.416 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
04:56:01.419 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:01.421 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:01.422 [print] "false";"false" 
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:00.888 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
568ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '03c39474-aef9-4169-95da-9890af440b14' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c39474-aef9-4169-95da-9890af440b14' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 003ms
* print connectUrl 000ms
04:56:01.442 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:01.443 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:01.444 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:01.445 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 001ms
04:56:01.447 [print] RIVM 
* print operateson 000ms
04:56:01.448 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:01.450 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:01.452 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:01.453 [print] "true";"true";"true" 
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 005ms
006ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:00.960 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 004ms
Tags: @step1
546ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '55cf16e8-1c04-462c-b78a-e0d28823dd2e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 525ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '55cf16e8-1c04-462c-b78a-e0d28823dd2e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:01.501 [print] https://haleconnect.com/ows/services/org.874.c4108a11-bdbb-4461-8902-423531561a7e_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:01.502 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:01.503 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:01.503 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:01.504 [print] KNMI 
* print operateson 000ms
04:56:01.504 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 004ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:01.510 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:01.512 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:01.512 [print] true 
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:01.101 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
572ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '82fa284e-8218-40e4-a593-c2f8a832c3d5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 554ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82fa284e-8218-40e4-a593-c2f8a832c3d5' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:01.666 [print] https://www.gdngeoservices.nl/inspire/wms/olie_en_gasvelden?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:01.667 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:01.668 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:01.669 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:01.670 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:01.670 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:01.672 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:01.674 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:01.675 [print] "true";"false" 
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
007ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:01.438 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 005ms
Tags: @step1
566ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b6d902f4-97e8-4bcc-ba87-e58134645ab7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 552ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b6d902f4-97e8-4bcc-ba87-e58134645ab7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:02.006 [print] https:\/\/inspire.caris.nl\/gs4\/LAT2018OF\/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:02.007 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:02.007 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:02.008 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:02.008 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:02.009 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:02.010 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:02.011 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:02.012 [print] "true";"true" 
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:01.467 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 002ms
Tags: @step1
572ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5255c080-5f4e-4f7a-8a2c-6ac9d0103288' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 554ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5255c080-5f4e-4f7a-8a2c-6ac9d0103288' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:02.035 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:02.036 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:02.037 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:02.038 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:02.039 [print] RIVM 
* print operateson 000ms
04:56:02.040 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:02.041 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:02.043 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:02.044 [print] "true";"true";"true" 
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:01.516 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
557ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3094a1c4-3dd6-4e8e-9929-4a63dd66992e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3094a1c4-3dd6-4e8e-9929-4a63dd66992e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:02.061 [print] http:\/\/services.inspire-provincies.nl\/ProductionAndIndustrialFacilities\/services\/download_PF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:02.063 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 001ms
04:56:02.065 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:02.066 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:02.067 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:56:02.068 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:02.070 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:02.071 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:02.073 [print] "false";"true";"true" 
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:01.679 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
576ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '664862cb-d426-4ee4-97ac-14c12b903b54' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 554ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '664862cb-d426-4ee4-97ac-14c12b903b54' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
04:56:02.247 [print] https://www.broinspireservices.nl/wms/oshhgqm-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:02.248 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:02.249 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:02.250 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:02.251 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:02.251 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:02.254 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:02.255 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:02.256 [print] "true";"true" 
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:02.016 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
553ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ce0a3f8e-6713-455f-805e-a067162c287d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce0a3f8e-6713-455f-805e-a067162c287d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:02.563 [print] https://haleconnect.com/ows/services/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:02.564 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:02.565 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:02.566 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:02.567 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:02.567 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:02.568 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:02.569 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:02.570 [print] true 
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:02.049 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
557ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 543ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:02.601 [print] https://www.broinspireservices.nl/wfs/osgegmw-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:02.602 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:02.603 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:02.603 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:02.604 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:02.604 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:02.605 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:02.606 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:02.607 [print] "true";"true" 
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:02.080 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
581ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '94e5b115-bece-4140-99ed-93b8f363948e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 564ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94e5b115-bece-4140-99ed-93b8f363948e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:02.656 [print] https:\/\/geodata.nationaalgeoregister.nl\/ahn3\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:02.657 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:02.658 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:02.658 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:02.659 [print] Beheer PDOK 
* print operateson 000ms
04:56:02.659 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:02.661 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:02.662 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:02.663 [print] "true";"true" 
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:02.261 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
566ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5523cfd7-a72c-409e-a0c7-89b858aafa64' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 552ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5523cfd7-a72c-409e-a0c7-89b858aafa64' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:02.823 [print] https://service.pdok.nl/bzk/bro-environmental-monitoring-facilities/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:02.824 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:02.824 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:02.824 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:02.825 [print] Beheer PDOK 
* print operateson 000ms
04:56:02.825 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:02.827 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:02.828 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:02.829 [print] "true";"true" 
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:02.574 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '26e2e9f4-be88-4c8c-bdef-94edfa93bde9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '26e2e9f4-be88-4c8c-bdef-94edfa93bde9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:03.117 [print] https://service.pdok.nl/bzk/bro-hydrogeology/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:03.118 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:03.119 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:03.120 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:03.121 [print] Beheer PDOK 
* print operateson 000ms
04:56:03.121 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:03.123 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:03.125 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:03.126 [print] "true";"true" 
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:02.611 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
583ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '757a7c50-540d-4105-9135-73f09f700743' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 544ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '757a7c50-540d-4105-9135-73f09f700743' 021ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:03.186 [print] https://service.pdok.nl/bzk/bro-grondwaterspiegeldiepte/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:03.187 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:03.188 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:03.188 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:03.189 [print] Beheer PDOK 
* print operateson 000ms
04:56:03.189 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b756dabe-a331-42cd-b45e-f61828ee4534#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
04:56:03.193 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:03.194 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:03.195 [print] "true";"true" 
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:02.667 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
560ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1c0dcc64-91aa-4d44-a9e3-54355556f5e7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 539ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c0dcc64-91aa-4d44-a9e3-54355556f5e7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:03.217 [print] https:\/\/service.pdok.nl\/lv\/bag\/wfs\/v2_0?request=getCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
04:56:03.218 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:03.220 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:03.220 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:03.221 [print] Beheer PDOK 
* print operateson 000ms
04:56:03.222 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:03.224 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:03.225 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:03.226 [print] "true";"true" 
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:02.833 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 004ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
567ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9e2e977a-16a6-42a4-a208-c4f70704f383' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 549ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9e2e977a-16a6-42a4-a208-c4f70704f383' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:03.398 [print] https:\/\/service.pdok.nl\/lv\/bag\/wms\/v2_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:03.399 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:03.400 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:03.400 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:03.401 [print] Beheer PDOK 
* print operateson 000ms
04:56:03.402 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:03.404 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:03.405 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:03.406 [print] "true";"true" 
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:03.130 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
562ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e258f171-6f56-4d4d-8311-027b30213c2d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 542ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e258f171-6f56-4d4d-8311-027b30213c2d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:03.683 [print] https://service.pdok.nl/kadaster/cp/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:03.684 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:03.686 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:03.686 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:03.688 [print] Beheer PDOK 
* print operateson 000ms
04:56:03.688 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:03.690 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:03.692 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:03.693 [print] "true";"true" 
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:03.199 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ac3a9efe-2154-4a4c-aae3-ea269044945d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac3a9efe-2154-4a4c-aae3-ea269044945d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:03.740 [print] https://geodata.nationaalgeoregister.nl/bzk/bro-bodemkaart/wms/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:03.742 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:03.743 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:03.743 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:03.744 [print] Beheer PDOK 
* print operateson 000ms
04:56:03.745 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:03.747 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:03.748 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:03.750 [print] "true";"true" 
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:03.232 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
555ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5b40b9b4-fcb2-4553-bcab-34824c43c992' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b40b9b4-fcb2-4553-bcab-34824c43c992' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:03.780 [print] https://geodata.nationaalgeoregister.nl/inspire/ad/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:03.781 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:03.782 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:03.783 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:03.784 [print] Beheer PDOK 
* print operateson 000ms
04:56:03.784 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:03.787 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:03.788 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:03.789 [print] "true";"true" 
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:03.411 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '89b35a6c-c099-456b-8eaf-2b83c7a35c74' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '89b35a6c-c099-456b-8eaf-2b83c7a35c74' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:03.956 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-np/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:03.957 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:03.958 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:03.958 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:03.959 [print] Beheer PDOK 
* print operateson 000ms
04:56:03.959 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:03.966 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:03.967 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:03.968 [print] "true";"true" 
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:03.697 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
571ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd7d19437-f875-45b3-86cd-2fa3335479ec' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 557ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7d19437-f875-45b3-86cd-2fa3335479ec' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:04.265 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-np/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:04.266 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:04.267 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:04.267 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:04.268 [print] Beheer PDOK 
* print operateson 000ms
04:56:04.268 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:04.270 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:04.270 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:04.271 [print] "true";"true" 
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:03.754 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
583ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b023459a-9f0e-4d53-8059-a794119abbed' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 566ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b023459a-9f0e-4d53-8059-a794119abbed' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:04.330 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-cdda/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:04.331 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:04.332 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:04.333 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:04.334 [print] Beheer PDOK 
* print operateson 000ms
04:56:04.334 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:04.336 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:04.337 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:04.338 [print] "true";"true" 
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:03.794 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
561ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '101a2cc7-bb53-4a16-98f9-bab1f4745b01' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 544ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101a2cc7-bb53-4a16-98f9-bab1f4745b01' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:04.347 [print] https:\/\/service.pdok.nl\/rce\/ps-ch\/wfs\/v1_0?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:04.348 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:04.348 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:04.349 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 002ms
04:56:04.352 [print] Beheer PDOK 
* print operateson 000ms
04:56:04.352 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:04.354 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:04.355 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:04.356 [print] "true";"true" 
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:03.972 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7ab53b91-9df1-4c39-ba0e-06ec80ce512b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 541ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7ab53b91-9df1-4c39-ba0e-06ec80ce512b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:04.522 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-cdda/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:04.523 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:04.524 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:04.524 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:04.525 [print] Beheer PDOK 
* print operateson 000ms
04:56:04.525 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:04.527 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:04.528 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:04.529 [print] "true";"true" 
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:04.275 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
546ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c21c6bf5-8899-4b46-8986-0f65eca05ed0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c21c6bf5-8899-4b46-8986-0f65eca05ed0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:04.816 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:04.816 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:04.817 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:04.817 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:04.818 [print] Beheer PDOK 
* print operateson 000ms
04:56:04.818 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:04.820 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:04.821 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:04.822 [print] "true";"true" 
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:04.345 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 002ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
545ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '710a6a9b-c09f-4660-b15a-2d5bee27e7e3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 527ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '710a6a9b-c09f-4660-b15a-2d5bee27e7e3' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:04.886 [print] https://service.pdok.nl/cbs/gebiedsindelingen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:04.888 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:04.889 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:04.889 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:04.890 [print] Beheer PDOK 
* print operateson 000ms
04:56:04.891 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:04.893 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:04.894 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:04.895 [print] "true";"true" 
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:04.359 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
586ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7a748a59-36f4-475b-9647-402b5ce89a1c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 570ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a748a59-36f4-475b-9647-402b5ce89a1c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:04.938 [print] https://service.pdok.nl/kadaster/lc/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:04.940 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:04.941 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:04.941 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:04.942 [print] Beheer PDOK 
* print operateson 000ms
04:56:04.943 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:04.945 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:04.946 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:04.947 [print] "true";"true" 
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:04.533 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
569ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '275b64ab-34c2-41f8-8904-97812c7f716e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 523ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '275b64ab-34c2-41f8-8904-97812c7f716e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:05.066 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-wl/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:05.067 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:05.068 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:05.069 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:05.070 [print] Beheer PDOK 
* print operateson 000ms
04:56:05.071 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 024ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:05.096 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:05.097 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 004ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 001ms
04:56:05.104 [print] "true";"true" 
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:04.825 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
583ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bc0b75c6-3eef-49de-aca2-8483024903c1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 564ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc0b75c6-3eef-49de-aca2-8483024903c1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:05.401 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-wl/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:05.402 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:05.403 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:05.403 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:05.405 [print] Beheer PDOK 
* print operateson 000ms
04:56:05.405 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:05.407 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:05.408 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:05.410 [print] "true";"true" 
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:04.899 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
590ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'deaf8380-ad45-48d2-8c3e-81164471bafb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 573ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'deaf8380-ad45-48d2-8c3e-81164471bafb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:05.482 [print] https://service.pdok.nl/cbs/vk500/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:05.483 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:05.484 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:05.485 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:05.486 [print] Beheer PDOK 
* print operateson 000ms
04:56:05.486 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:05.488 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:05.489 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:05.491 [print] "true";"true" 
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:04.951 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
657ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0080a9ce-b836-45bc-8fdf-07dcbe97101d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 637ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0080a9ce-b836-45bc-8fdf-07dcbe97101d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
04:56:05.600 [print] https://service.pdok.nl/rce/ps-ch/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:05.601 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:05.602 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:05.603 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:05.604 [print] Beheer PDOK 
* print operateson 000ms
04:56:05.605 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:05.607 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:05.608 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:05.610 [print] "true";"true" 
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:05.108 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
583ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '54122631-d343-40be-9c28-e44626b37a0e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 559ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54122631-d343-40be-9c28-e44626b37a0e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:05.680 [print] https://service.pdok.nl/cbs/hh/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:05.681 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:05.682 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:05.683 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:05.684 [print] Beheer PDOK 
* print operateson 000ms
04:56:05.685 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 004ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:05.691 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:05.692 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:05.693 [print] "true";"true" 
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:05.414 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
631ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '070014b4-1f63-4819-beea-000b7d5f8d86' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 615ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '070014b4-1f63-4819-beea-000b7d5f8d86' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:06.040 [print] https://www.broinspireservices.nl/atom/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:06.041 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:06.042 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:06.042 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:06.043 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:06.043 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:06.045 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:06.046 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:06.047 [print] "true";"true" 
* eval db.writeln('"070014b4-1f63-4819-beea-000b7d5f8d86","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"070014b4-1f63-4819-beea-000b7d5f8d86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"070014b4-1f63-4819-beea-000b7d5f8d86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:05.495 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
636ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 613ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:06.119 [print] https://service.pdok.nl/rvo/invasieve-exoten/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:06.120 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:06.121 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
04:56:06.122 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:06.123 [print] Beheer PDOK 
* print operateson 000ms
04:56:06.124 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:06.127 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:06.129 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 001ms
04:56:06.131 [print] "true";"true" 
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:05.614 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
573ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ddf33bff-8de3-4cca-b6f5-24d18daa502f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 553ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ddf33bff-8de3-4cca-b6f5-24d18daa502f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:06.178 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwater2015/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:06.179 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:06.180 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:06.181 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:06.182 [print] Beheer PDOK 
* print operateson 000ms
04:56:06.183 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:06.185 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:06.187 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:06.189 [print] "true";"true";"true" 
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:05.697 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88a337a9-bed3-4d79-80fa-ff4b45990d7d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a337a9-bed3-4d79-80fa-ff4b45990d7d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:06.244 [print] https://service.pdok.nl/cbs/wb2020/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:06.245 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:06.247 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:06.247 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:06.248 [print] Beheer PDOK 
* print operateson 000ms
04:56:06.249 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:06.250 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:06.252 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:06.253 [print] "true";"true" 
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:06.052 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68a7e4c1-0073-4a1a-a6df-084d2badf45a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68a7e4c1-0073-4a1a-a6df-084d2badf45a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:06.594 [print] https://service.pdok.nl/cbs/wb2019/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:06.595 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:06.596 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:06.596 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:06.597 [print] Beheer PDOK 
* print operateson 000ms
04:56:06.597 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:06.599 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:06.600 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:06.601 [print] "true";"true" 
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:06.137 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '77971fa3-f869-4726-969a-482e0b1a8c5d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '77971fa3-f869-4726-969a-482e0b1a8c5d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:06.679 [print] https://www.gdngeoservices.nl/inspire/downloads/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:06.680 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:06.681 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:06.681 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:06.682 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:06.682 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:06.684 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:06.685 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:06.686 [print] "true";"true" 
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:06.192 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0fa448bb-332b-40b2-adab-13626b29bee6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0fa448bb-332b-40b2-adab-13626b29bee6' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:06.730 [print] https://service.pdok.nl/kadaster/lu/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:06.731 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:06.731 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:06.732 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:06.732 [print] Beheer PDOK 
* print operateson 000ms
04:56:06.733 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a88#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:06.734 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:06.735 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:06.736 [print] "true";"true" 
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:06.260 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
553ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c47e4ef8-951e-4765-8d01-29150c12a22d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c47e4ef8-951e-4765-8d01-29150c12a22d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:06.807 [print] https://www.broinspireservices.nl/atom/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:06.808 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:06.809 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:06.809 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:06.810 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:06.811 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=7D35598D-DFBF-C64D-0F1A-92A80A45EB14&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:06.812 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:06.814 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:06.815 [print] "true";"true" 
* eval db.writeln('"c47e4ef8-951e-4765-8d01-29150c12a22d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c47e4ef8-951e-4765-8d01-29150c12a22d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c47e4ef8-951e-4765-8d01-29150c12a22d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:06.605 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
615ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '101304f0-2cf2-4ce0-aa23-cd7e4000fbba' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 583ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101304f0-2cf2-4ce0-aa23-cd7e4000fbba' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:07.197 [print] https://service.pdok.nl/kadaster/sr/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:07.198 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:07.198 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:07.199 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:07.199 [print] Beheer PDOK 
* print operateson 000ms
04:56:07.199 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:07.201 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:07.201 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:07.202 [print] "true";"true" 
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 019ms
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:06.690 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5f0c583a-101e-45ea-b684-a056713cf811' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 539ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5f0c583a-101e-45ea-b684-a056713cf811' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:07.238 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-baseline-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:07.240 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:07.241 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:07.241 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:07.243 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:07.243 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:07.245 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:07.247 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:07.248 [print] "true";"true" 
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:06.740 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
562ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9ad3f0c0-9e2c-4d44-a467-b57920aa512f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 544ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ad3f0c0-9e2c-4d44-a467-b57920aa512f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:07.294 [print] https://geodata.nationaalgeoregister.nl/hwh/eenheden/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:07.295 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:07.296 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:07.297 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:07.298 [print] Beheer PDOK 
* print operateson 000ms
04:56:07.298 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:07.300 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:07.302 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:07.303 [print] "true";"true" 
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:06.818 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
559ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '47470f53-e0aa-45f3-ada3-ddf130dd54af' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '47470f53-e0aa-45f3-ada3-ddf130dd54af' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:07.369 [print] https://service.pdok.nl/cbs/wb2021/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:07.370 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:07.372 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:07.372 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:07.373 [print] Beheer PDOK 
* print operateson 000ms
04:56:07.374 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:07.376 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:07.377 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:07.379 [print] "true";"true" 
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:07.226 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
584ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b5ee6914-04bd-4c7e-a180-242371ae40d9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 564ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b5ee6914-04bd-4c7e-a180-242371ae40d9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:07.801 [print] https://inspire.rivm.nl/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:07.803 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:07.804 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:07.804 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:07.805 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:07.806 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:07.809 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:07.811 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"notEvaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:07.812 [print] "false";"true";"true" 
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:07.252 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
605ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cb13a608-3d78-4f79-ba60-be63ccd6e268' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 575ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cb13a608-3d78-4f79-ba60-be63ccd6e268' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:07.838 [print] https://service.pdok.nl/cbs/vk100/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 008ms
* print protocol1 000ms
04:56:07.847 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:07.848 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:07.848 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:07.849 [print] Beheer PDOK 
* print operateson 000ms
04:56:07.850 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
04:56:07.855 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:07.856 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 001ms
* print corConformancePass 001ms
04:56:07.859 [print] "true";"true" 
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:07.307 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
554ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2931d583-9633-49d3-ad38-aabea82f6751' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 529ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2931d583-9633-49d3-ad38-aabea82f6751' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 003ms
04:56:07.850 [print] https://service.pdok.nl/bzk/bro-hydrogeology/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:07.851 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 001ms
04:56:07.853 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:07.854 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:07.854 [print] Beheer PDOK 
* print operateson 000ms
04:56:07.854 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:07.857 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:07.858 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 004ms
04:56:07.863 [print] "true";"true" 
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:07.383 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
564ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '47d416f8-76e8-441c-9b19-c8f889dfe62c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 549ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '47d416f8-76e8-441c-9b19-c8f889dfe62c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:07.942 [print] https://service.pdok.nl/kadaster/gn/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:07.943 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:07.944 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:07.944 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:07.945 [print] Beheer PDOK 
* print operateson 000ms
04:56:07.945 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:07.947 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:07.948 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:07.949 [print] "true";"true" 
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:07.816 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e222648d-d19e-4a99-a67d-2af1c9aabd75' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e222648d-d19e-4a99-a67d-2af1c9aabd75' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:08.360 [print] https://service.pdok.nl/kadaster/cp/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:08.361 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:08.362 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:08.362 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:08.363 [print] Beheer PDOK 
* print operateson 000ms
04:56:08.363 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:08.365 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:08.366 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:08.367 [print] "true";"true" 
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:07.863 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
601ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1d3c777a-3527-4aa1-8573-d6aeeff115e5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 588ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1d3c777a-3527-4aa1-8573-d6aeeff115e5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:08.467 [print] https://www.broinspireservices.nl/atom/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:08.467 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:08.468 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:08.468 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:08.469 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:08.469 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=E7D9F0D6-2B8D-6699-F26E-4A781228F2DD&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:08.470 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:08.471 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:08.472 [print] "true";"true" 
* eval db.writeln('"1d3c777a-3527-4aa1-8573-d6aeeff115e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1d3c777a-3527-4aa1-8573-d6aeeff115e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1d3c777a-3527-4aa1-8573-d6aeeff115e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:07.867 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1512b29e-80d4-4677-bcae-a3f9f82a223d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1512b29e-80d4-4677-bcae-a3f9f82a223d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:08.405 [print] https://service.pdok.nl/brt/top10nl/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:08.406 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:08.407 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:08.407 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:08.408 [print] Beheer PDOK 
* print operateson 000ms
04:56:08.408 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=29d5310f-dd0d-45ba-abad-b4ffc6b8785f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:08.409 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:08.410 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:08.411 [print] "true";"true" 
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:07.953 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
558ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e27e61d8-25b1-45ee-a2df-071312ba8a69' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 544ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e27e61d8-25b1-45ee-a2df-071312ba8a69' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:08.507 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwateractueel/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:08.507 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:08.508 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:08.508 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:08.509 [print] Beheer PDOK 
* print operateson 000ms
04:56:08.509 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:08.510 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:08.511 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:08.512 [print] "true";"true";"true" 
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:08.371 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd84b0a71-4460-4e16-8a7e-5507f2e6bcbf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd84b0a71-4460-4e16-8a7e-5507f2e6bcbf' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:08.915 [print] https://service.pdok.nl/bzk/bro-grondwaterspiegeldiepte/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:08.916 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:08.916 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:08.917 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:08.918 [print] Beheer PDOK 
* print operateson 000ms
04:56:08.918 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b756dabe-a331-42cd-b45e-f61828ee4534#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:08.919 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:08.920 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:08.921 [print] "true";"true" 
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 003ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:08.415 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:08.957 [print] https://service.pdok.nl/kadaster/lc/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:08.957 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:08.958 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:08.959 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:08.960 [print] Beheer PDOK 
* print operateson 000ms
04:56:08.960 [print] https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:08.961 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:08.962 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:08.963 [print] "true";"true" 
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:08.475 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
581ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '46873d16-6835-48c4-b47f-134ab0cb31fa' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 546ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '46873d16-6835-48c4-b47f-134ab0cb31fa' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:09.030 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:09.032 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:09.033 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:09.033 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:09.034 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:09.035 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 019ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:09.055 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:09.057 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:09.058 [print] "false";"false" 
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:08.516 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
579ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '488c1e6d-363e-4476-b2ff-17756ac9b35f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 542ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '488c1e6d-363e-4476-b2ff-17756ac9b35f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 006ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 007ms
04:56:09.079 [print] https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
04:56:09.082 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 002ms
04:56:09.085 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:09.085 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:09.087 [print] Beheer PDOK 
* print operateson 000ms
04:56:09.087 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:09.089 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:09.091 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:09.092 [print] "true";"true" 
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 004ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:08.928 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:09.478 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/wms/?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:09.478 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:09.479 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:09.480 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:09.481 [print] Beheer PDOK 
* print operateson 000ms
04:56:09.481 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:09.483 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:09.484 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:09.485 [print] "true";"true" 
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:08.967 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
572ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 541ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 006ms
* print connectUrl 000ms
04:56:09.524 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:09.525 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:09.526 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:09.527 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:09.528 [print] Beheer PDOK 
* print operateson 000ms
04:56:09.528 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 006ms
04:56:09.537 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
04:56:09.539 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:09.540 [print] "true";"true" 
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
008ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:09.069 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 007ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
543ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 527ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:09.613 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/wms/?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:09.615 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:09.616 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:09.617 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:09.617 [print] Beheer PDOK 
* print operateson 000ms
04:56:09.618 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:09.619 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:09.620 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:09.621 [print] "true";"true" 
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:09.101 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88a93a3b-d522-4c5d-9b0f-c6c39a118442' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a93a3b-d522-4c5d-9b0f-c6c39a118442' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:09.639 [print] https://geodata.nationaalgeoregister.nl/inspire/su-vector/wms?&request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:09.640 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:09.641 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:09.641 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:09.642 [print] Beheer PDOK 
* print operateson 000ms
04:56:09.642 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:09.644 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:09.645 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:09.646 [print] "true";"true" 
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:09.489 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
553ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd94b1eca-8a7d-4dc4-b979-36257878758f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd94b1eca-8a7d-4dc4-b979-36257878758f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:10.037 [print] https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:10.037 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:10.038 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:10.039 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:10.040 [print] Beheer PDOK 
* print operateson 000ms
04:56:10.040 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:10.042 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:10.043 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:10.044 [print] "true";"true" 
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:09.545 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '52d0313e-0d2b-44b4-b51e-d9e504307f70' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 542ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '52d0313e-0d2b-44b4-b51e-d9e504307f70' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:10.096 [print] https://service.pdok.nl/bzk/bro-environmental-monitoring-facilities/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:10.097 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:10.098 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:10.098 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:10.099 [print] Beheer PDOK 
* print operateson 000ms
04:56:10.099 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:10.101 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:10.102 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:10.103 [print] "true";"true" 
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:09.624 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '559f7f5b-44fc-4003-9fb5-4d8c9aff6060' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 542ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '559f7f5b-44fc-4003-9fb5-4d8c9aff6060' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:10.175 [print] https://service.pdok.nl/kadaster/tn/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:10.176 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:10.177 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:10.177 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:10.178 [print] Beheer PDOK 
* print operateson 000ms
04:56:10.178 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:10.179 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:10.180 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:10.181 [print] "true";"true" 
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:09.649 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '91b1f8ca-63a0-4ce6-b7e1-456ee6945638' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 538ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91b1f8ca-63a0-4ce6-b7e1-456ee6945638' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:10.195 [print] https://service.pdok.nl/rvo/schelpdierpercelen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:10.196 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:10.197 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:10.197 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:10.198 [print] Beheer PDOK 
* print operateson 000ms
04:56:10.198 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b4e95a-12d7-4c74-933c-cb267cfe0bcf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:10.200 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:10.200 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:10.201 [print] "true";"true" 
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:10.047 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f5660ac6-8031-4acc-832c-1d1b82b062ba' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5660ac6-8031-4acc-832c-1d1b82b062ba' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:10.593 [print] https://www.gdngeoservices.nl/inspire/downloads/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:10.594 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:10.595 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:10.595 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:10.596 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:10.596 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:10.597 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:10.598 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:10.599 [print] "true";"true" 
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:10.106 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cea38797-ea4b-4969-b979-8d25eb543a6c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cea38797-ea4b-4969-b979-8d25eb543a6c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:10.644 [print] https://geodata.nationaalgeoregister.nl/inspire/elu/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:10.644 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:10.645 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:10.645 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:10.646 [print] Beheer PDOK 
* print operateson 000ms
04:56:10.646 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:10.648 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:10.649 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:10.650 [print] "true";"true" 
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:10.185 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
555ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f57bdee7-4027-4aa2-8312-4051b854be3c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f57bdee7-4027-4aa2-8312-4051b854be3c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:10.724 [print] https://service.pdok.nl/rvo/schelpdierpercelen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:10.725 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:10.726 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:10.727 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:10.728 [print] Beheer PDOK 
* print operateson 000ms
04:56:10.728 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b4e95a-12d7-4c74-933c-cb267cfe0bcf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:10.730 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:10.731 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:10.732 [print] "true";"true" 
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 008ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:10.204 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
573ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f76bdce5-344e-415f-8f2c-972755e80b65' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 529ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f76bdce5-344e-415f-8f2c-972755e80b65' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 003ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:10.745 [print] https://geodata.nationaalgeoregister.nl/schelpdierwater/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:10.747 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 002ms
* print protocol2 000ms
04:56:10.750 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:10.750 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:10.751 [print] Beheer PDOK 
* print operateson 001ms
04:56:10.753 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:10.754 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:10.756 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 022ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:10.778 [print] "true";"true" 
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:10.603 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '40f04047-3b61-40eb-b026-c1a0caa71881' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 529ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40f04047-3b61-40eb-b026-c1a0caa71881' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:11.143 [print] https:\/\/geodata.nationaalgeoregister.nl\/reststromen\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:11.144 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:11.146 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:11.146 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:11.147 [print] Beheer PDOK 
* print operateson 000ms
04:56:11.147 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:11.149 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:11.151 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:11.152 [print] "true";"true" 
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:10.654 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
544ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3dc373ae-fcf6-49c9-b315-9a2178bffe4a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3dc373ae-fcf6-49c9-b315-9a2178bffe4a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:11.191 [print] https://geodata.nationaalgeoregister.nl/restwarmte/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:11.192 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:11.193 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:11.193 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:11.194 [print] Beheer PDOK 
* print operateson 000ms
04:56:11.195 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:11.196 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:11.198 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:11.199 [print] "true";"true" 
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:10.746 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 003ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:11.296 [print] https://geodata.nationaalgeoregister.nl/vin/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:11.297 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:11.298 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:11.298 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:11.300 [print] Beheer PDOK 
* print operateson 000ms
04:56:11.300 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:11.302 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:11.303 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:11.305 [print] "true";"true" 
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:10.782 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
562ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '627b50bf-2e33-4beb-a314-ff8c0fe8912e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 542ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '627b50bf-2e33-4beb-a314-ff8c0fe8912e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 003ms
04:56:11.334 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-w\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:11.339 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:11.340 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:11.340 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:11.341 [print] Beheer PDOK 
* print operateson 000ms
04:56:11.342 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:11.344 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:11.345 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:11.346 [print] "true";"true" 
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:11.156 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
558ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 543ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:11.709 [print] https://geodata.nationaalgeoregister.nl/vin/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:11.710 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:11.710 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:11.711 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:11.711 [print] Beheer PDOK 
* print operateson 000ms
04:56:11.711 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:11.713 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:11.714 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:11.715 [print] "true";"true" 
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:11.203 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
563ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '609d0c9e-173f-4f90-b020-c91ab3a0b6ef' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 547ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '609d0c9e-173f-4f90-b020-c91ab3a0b6ef' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:11.759 [print] https:\/\/geodata.nationaalgeoregister.nl\/rdinfo\/wms?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
04:56:11.761 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:11.762 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:11.763 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:11.764 [print] Beheer PDOK 
* print operateson 000ms
04:56:11.764 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:11.766 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:11.767 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:11.768 [print] "true";"true" 
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:11.309 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
554ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '108fec55-e467-4d04-ab35-fd0d7060e3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 538ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '108fec55-e467-4d04-ab35-fd0d7060e3e2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:11.857 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/richtlijnstedelijkafvalwater2015\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:11.858 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:11.859 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:11.859 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:11.860 [print] Beheer PDOK 
* print operateson 000ms
04:56:11.861 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:11.863 [print] "https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1";"http:\/\/data.europa.eu\/eli\/reg\/2009\/976" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:11.864 [print] "Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:11.865 [print] "true";"true" 
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:11.350 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
567ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 550ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:11.910 [print] https:\/\/geodata.nationaalgeoregister.nl\/rdinfo\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:11.911 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:11.912 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:11.912 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:11.913 [print] Beheer PDOK 
* print operateson 000ms
04:56:11.914 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:11.915 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:11.917 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:11.918 [print] "true";"true" 
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:11.718 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 529ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:12.256 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnoverstromingsrisico2018/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:12.257 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:12.258 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:12.258 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:12.259 [print] Beheer PDOK 
* print operateson 000ms
04:56:12.259 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=rorl-9d8e-4758-83fx-28b057f185g1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:12.260 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:12.261 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:12.262 [print] "true";"true" 
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:11.771 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
599ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6c62e0a5-c215-4e47-94b0-a239e264417d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 560ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c62e0a5-c215-4e47-94b0-a239e264417d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:12.348 [print] https:\/\/geodata.nationaalgeoregister.nl\/plu\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:12.350 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:12.352 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:12.352 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 008ms
* print organisationpath 001ms
04:56:12.362 [print] Beheer PDOK 
* print operateson 000ms
04:56:12.363 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:12.367 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:12.369 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:12.371 [print] "true";"true" 
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:11.868 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
558ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '280cee65-1b66-4973-a569-75122e0b745b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 544ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280cee65-1b66-4973-a569-75122e0b745b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:12.422 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/richtlijnstedelijkafvalwater2015\/wfs\/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:12.423 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:12.423 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:12.424 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:12.424 [print] Beheer PDOK 
* print operateson 000ms
04:56:12.425 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:12.426 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:12.427 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:12.428 [print] "true";"true" 
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:11.921 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
557ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dae8f9e3-99af-4d21-9feb-29f2a1693077' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 544ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dae8f9e3-99af-4d21-9feb-29f2a1693077' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:12.474 [print] https://service.pdok.nl/kadaster/tn/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:12.475 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:12.475 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:12.476 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:12.476 [print] Beheer PDOK 
* print operateson 000ms
04:56:12.477 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:12.478 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:12.479 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:12.480 [print] "true";"true" 
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:12.265 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
561ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a2724dae-ebad-4a07-9405-49bddfde3368' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 546ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2724dae-ebad-4a07-9405-49bddfde3368' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:12.821 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/verkeersscheidingsstelsel\/wfs\/v2_0?service=WFS&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:12.822 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:12.823 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:12.823 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:12.824 [print] Beheer PDOK 
* print operateson 000ms
04:56:12.824 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:12.826 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:12.827 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:12.827 [print] "true";"true" 
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:12.375 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
546ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68722979-8d6c-4ee4-a81a-8381d2588fe5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68722979-8d6c-4ee4-a81a-8381d2588fe5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:12.916 [print] https://geodata.nationaalgeoregister.nl/nl/rws/hy-n/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:12.917 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:12.918 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:12.918 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:12.919 [print] Beheer PDOK 
* print operateson 000ms
04:56:12.919 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:12.921 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:12.922 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:12.923 [print] "true";"true" 
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:12.431 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f917ffa9-1531-48ea-867e-0d413d85b05a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f917ffa9-1531-48ea-867e-0d413d85b05a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:12.991 [print] https://geodata.nationaalgeoregister.nl/digitaaltopografischbestand/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:12.992 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:12.993 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:12.993 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:12.994 [print] Beheer PDOK 
* print operateson 000ms
04:56:12.995 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4b137b8-2317-42c2-aced-204c4216d68d&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4bed072-0fda-47b8-96fa-457a938b88fc&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3229e4d7-4bcd-4b94-819d-8e62de69ce2e&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:12.997 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:12.998 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:12.999 [print] "true";"true" 
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:12.484 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fbe544b6-6e6f-43a0-80b9-ced1df78c434' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 536ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fbe544b6-6e6f-43a0-80b9-ced1df78c434' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:13.029 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:13.029 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:13.030 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:13.031 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:13.032 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:13.032 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:13.034 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:13.035 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:13.036 [print] "false";"false" 
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:12.831 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
544ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '37308f90-e619-4b62-ae9e-e656bb3f1649' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37308f90-e619-4b62-ae9e-e656bb3f1649' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:13.371 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:13.372 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:13.372 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:13.373 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:13.373 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:13.373 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:13.375 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:13.376 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:13.376 [print] "false";"false" 
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:12.926 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
540ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '72f30ca1-3b80-4020-b9ed-301b1a88df39' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '72f30ca1-3b80-4020-b9ed-301b1a88df39' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:13.463 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:13.464 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:13.464 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:13.464 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:13.465 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:13.465 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:13.466 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:13.467 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:13.468 [print] "false";"false" 
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:13.003 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 001ms
And param id = 'f59357eb-185f-42a5-b465-90bfa6e3e416' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f59357eb-185f-42a5-b465-90bfa6e3e416' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:13.546 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:13.547 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:13.548 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:13.549 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:13.550 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:13.550 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:13.552 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:13.553 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:13.554 [print] "false";"false" 
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:13.040 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
540ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dc9fbc85-1263-4a1b-b001-7be701a6039e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 527ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dc9fbc85-1263-4a1b-b001-7be701a6039e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:13.575 [print] https://service.pdok.nl/kadaster/plu/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:13.576 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:13.576 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:13.577 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:13.578 [print] Beheer PDOK 
* print operateson 000ms
04:56:13.578 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:13.580 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:13.581 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:13.582 [print] "true";"true" 
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:13.380 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
555ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ef2a7962-8bb4-483f-ac78-851b619f357f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 541ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ac78-851b619f357f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:13.930 [print] https://services.rce.geovoorziening.nl/www/download/nl.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:13.931 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:13.931 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:13.932 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:13.932 [print] Rijksdienst voor het Cultureel Erfgoed 
* print operateson 000ms
04:56:13.932 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6f84efeb-fc1d-4565-a721-80735ea57dbd#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=88a3c1ae-902e-4efa-8663-ddd836101929#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:13.934 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:13.935 [print] "Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie";"Open Search mechanisme van het Nationaal Georegister functioneert nog niet naar behoren." 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:13.936 [print] "true";"false" 
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:13.472 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
559ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 546ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:14.026 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:14.027 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:14.027 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:14.028 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:14.028 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:14.028 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:14.030 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:14.030 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:14.031 [print] "false";"false" 
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:13.558 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
593ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a931e334-b752-4935-8a98-00eddc443789' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 546ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a931e334-b752-4935-8a98-00eddc443789' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 018ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:14.130 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:14.131 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:14.132 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:14.132 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:14.133 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 008ms
04:56:14.142 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:14.144 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:14.145 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 004ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 002ms
04:56:14.152 [print] "false";"false" 
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:13.585 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
568ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '15c3c30f-0db2-4b3b-80f6-b990c8fc8225' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 546ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15c3c30f-0db2-4b3b-80f6-b990c8fc8225' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:14.139 [print] https://service.pdok.nl/hwh/hydrografie/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:14.140 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:14.141 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:14.141 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 003ms
04:56:14.145 [print] Beheer PDOK 
* print operateson 000ms
04:56:14.145 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:14.147 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
04:56:14.150 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:14.151 [print] "true";"true" 
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 003ms
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:13.939 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
569ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 556ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:14.504 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:14.504 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:14.505 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:14.505 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:14.506 [print] Beheer PDOK 
* print operateson 000ms
04:56:14.506 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:14.508 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:14.509 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:14.510 [print] "true";"true" 
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:14.035 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
561ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 547ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:14.591 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2020/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:14.592 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:14.593 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:14.593 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:14.593 [print] Beheer PDOK 
* print operateson 000ms
04:56:14.594 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:14.595 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:14.596 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:14.597 [print] "true";"true" 
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:14.157 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
605ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'caeb52a3-cbaa-4e9b-a23e-d4dc0335b506' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 593ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'caeb52a3-cbaa-4e9b-a23e-d4dc0335b506' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:14.761 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2020/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:14.762 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:14.762 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:14.762 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:14.763 [print] Beheer PDOK 
* print operateson 000ms
04:56:14.763 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:14.764 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:14.765 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:14.766 [print] "true";"true" 
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:14.162 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
567ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 555ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:14.725 [print] https://service.pdok.nl/cbs/wb2021/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:14.726 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:14.727 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:14.727 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:14.727 [print] Beheer PDOK 
* print operateson 000ms
04:56:14.728 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:14.729 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:14.730 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:14.731 [print] "true";"true" 
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:14.513 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
582ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3ac5737f-55ed-455d-8350-44af11b67fc3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 568ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ac5737f-55ed-455d-8350-44af11b67fc3' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:15.091 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2019/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:15.091 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:15.092 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:15.092 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:15.093 [print] Beheer PDOK 
* print operateson 000ms
04:56:15.093 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
04:56:15.095 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:15.096 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:15.097 [print] "true";"true" 
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:14.600 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:15.148 [print] https://service.pdok.nl/kadaster/lu/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:15.149 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:15.149 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:15.149 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:15.150 [print] Beheer PDOK 
* print operateson 000ms
04:56:15.150 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a88#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:15.151 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:15.152 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:15.153 [print] "true";"true" 
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:14.734 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
543ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '74620aa8-4fa2-414d-8350-50d93e500da8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 529ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74620aa8-4fa2-414d-8350-50d93e500da8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:15.271 [print] https:\/\/geodata.nationaalgeoregister.nl\/rwsgeluidskaarten\/wfs?service=WFS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:15.272 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:15.273 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:15.273 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:15.274 [print] Beheer PDOK 
* print operateson 000ms
04:56:15.274 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:15.276 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:15.277 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:15.278 [print] "true";"true" 
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:14.769 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
570ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1ce74355-763a-481d-b9d7-aaafbf0d7d53' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 549ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ce74355-763a-481d-b9d7-aaafbf0d7d53' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:15.331 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsoorten\/v2\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:15.332 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:15.333 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:15.333 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:15.335 [print] Beheer PDOK 
* print operateson 000ms
04:56:15.335 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:15.337 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:15.339 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:15.340 [print] "true";"true" 
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:15.100 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4041f923-6b77-4816-bf46-437e85416c31' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4041f923-6b77-4816-bf46-437e85416c31' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:15.644 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/kaderrichtlijnmarienestrategie2018\/wms\/v1_0?SERVICE=WMS&REQUEST=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:15.645 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:15.646 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:15.646 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:15.647 [print] Beheer PDOK 
* print operateson 000ms
04:56:15.647 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:15.648 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:15.649 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:15.650 [print] "true";"true" 
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:15.156 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
568ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b196f948-5d87-4eb4-9854-a93841c3877f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 551ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b196f948-5d87-4eb4-9854-a93841c3877f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:15.717 [print] https://service.pdok.nl/rvo/invasieve-exoten/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:15.718 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:15.719 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:15.719 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:15.720 [print] Beheer PDOK 
* print operateson 000ms
04:56:15.720 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:15.723 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:15.724 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:15.725 [print] "true";"true" 
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:15.281 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 536ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:15.826 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/kaderrichtlijnwateractueel\/wms\/v1_0?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:15.827 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:15.828 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:15.828 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:15.830 [print] Beheer PDOK 
* print operateson 000ms
04:56:15.830 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:15.832 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:15.833 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:15.834 [print] "true";"true" 
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:15.343 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f0c6fbfe-a172-4223-8af3-58f6a28c881d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 543ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0c6fbfe-a172-4223-8af3-58f6a28c881d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:15.895 [print] https://service.pdok.nl/cbs/hh/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:15.896 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:15.896 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:15.896 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:15.897 [print] Beheer PDOK 
* print operateson 000ms
04:56:15.897 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:15.899 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:15.900 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:15.901 [print] "true";"true" 
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:15.655 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
590ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '82541a1f-2e4e-459f-ab2f-e97cac3ad040' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 555ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82541a1f-2e4e-459f-ab2f-e97cac3ad040' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:16.232 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebiedtypen\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:16.234 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:16.235 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:16.235 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
04:56:16.238 [print] Beheer PDOK 
* print operateson 000ms
04:56:16.238 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:16.242 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:16.245 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:16.247 [print] "true";"true" 
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:15.729 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
628ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c4862c3-0bab-49c3-bc2f-ac5486826766' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 585ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4862c3-0bab-49c3-bc2f-ac5486826766' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 003ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:16.340 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsoorten\/v2\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:16.342 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:16.344 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:16.344 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
04:56:16.347 [print] Beheer PDOK 
* print operateson 000ms
04:56:16.347 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 003ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:16.353 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:16.356 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:16.359 [print] "true";"true" 
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:15.838 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
670ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c5351c8-d8f4-41c2-9642-42a63496a6fe' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 641ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c5351c8-d8f4-41c2-9642-42a63496a6fe' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:16.497 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebiedtypen\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:16.498 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:16.499 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:16.500 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:16.501 [print] Beheer PDOK 
* print operateson 000ms
04:56:16.502 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:16.505 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:16.507 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:16.509 [print] "true";"true" 
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:15.904 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
685ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1fa220c2-5f2e-4943-a57e-c291cc35084b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 649ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1fa220c2-5f2e-4943-a57e-c291cc35084b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:16.576 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebieden\/v2\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:16.577 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:16.579 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:16.579 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
04:56:16.582 [print] Beheer PDOK 
* print operateson 000ms
04:56:16.582 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:16.587 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:16.589 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:16.592 [print] "true";"true" 
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:16.250 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
632ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'af4841b5-ce83-4edb-af41-429a21140316' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 589ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af4841b5-ce83-4edb-af41-429a21140316' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 005ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:16.865 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingtypen\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:16.867 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:16.869 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:16.870 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 003ms
* print organisationpath 000ms
04:56:16.874 [print] Beheer PDOK 
* print operateson 000ms
04:56:16.874 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:16.879 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:16.882 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:16.884 [print] "true";"true" 
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:16.362 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
594ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b0119753-5625-4500-9df3-13823ff9868f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 560ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b0119753-5625-4500-9df3-13823ff9868f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:16.940 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingtypen\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:16.942 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:16.944 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:16.944 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 003ms
* print organisationpath 000ms
04:56:16.948 [print] Beheer PDOK 
* print operateson 000ms
04:56:16.948 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:16.952 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:16.956 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:16.958 [print] "true";"true" 
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:16.512 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
588ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ebd6ea46-ee7b-432f-83c4-058c889a790d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 571ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd6ea46-ee7b-432f-83c4-058c889a790d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
04:56:17.094 [print] http:\/\/services.inspire-provincies.nl\/EnvironmentalMonitoringFacilities\/services\/download_EF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:17.095 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:17.096 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:17.096 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:17.097 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:56:17.097 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:17.099 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:17.100 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:17.101 [print] "false";"true";"true" 
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:16.595 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
545ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '00e8746f-5031-413e-8343-9203c8ea82ee' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '00e8746f-5031-413e-8343-9203c8ea82ee' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:17.134 [print] http://services.inspire-provincies.nl/NaturalRiskZones/services/download_NZ?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:17.135 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:17.136 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:17.137 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:17.138 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:56:17.138 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:17.139 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:17.140 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:17.141 [print] "false";"true";"true" 
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:16.888 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
541ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ea4cb6a2-f637-413a-91cc-d58473c2f138' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ea4cb6a2-f637-413a-91cc-d58473c2f138' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:17.425 [print] http://services.inspire-provincies.nl/EnvironmentalMonitoringFacilities/services/view_EF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:17.426 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:17.427 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:17.427 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:17.428 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:56:17.428 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:17.429 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:17.430 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:17.431 [print] "false";"true";"true" 
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:16.962 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
543ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c99b1291-c51f-49c8-902d-5bd4148cbbde' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 525ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c99b1291-c51f-49c8-902d-5bd4148cbbde' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:17.497 [print] http:\/\/services.inspire-provincies.nl\/HabitatsAndBiotopes\/services\/view_HB?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:17.498 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 002ms
* print protocol2 000ms
04:56:17.501 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:17.501 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:17.502 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:56:17.502 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:17.503 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:17.504 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:17.505 [print] "false";"true";"true" 
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:17.105 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1c9b43c3-064d-40c3-aa7c-879b7376ef6f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c9b43c3-064d-40c3-aa7c-879b7376ef6f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:17.652 [print] https:\/\/service.pdok.nl\/rvo\/wko\/wms\/v1_0?service=wms&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:17.652 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:17.653 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:17.653 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:17.654 [print] Beheer PDOK 
* print operateson 000ms
04:56:17.655 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:17.656 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:17.657 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:17.658 [print] "true";"true" 
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:17.145 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
574ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5856173c-e58d-4b4c-8f9b-046ee1f20c1c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 560ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5856173c-e58d-4b4c-8f9b-046ee1f20c1c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:17.715 [print] https:\/\/service.pdok.nl\/rvo\/wko\/wfs\/v1_0?service=wfs&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:17.715 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:17.716 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:17.716 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:17.717 [print] Beheer PDOK 
* print operateson 000ms
04:56:17.717 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:17.719 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:17.720 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:17.721 [print] "true";"true" 
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:17.434 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
572ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8abcd2d1-3beb-43e5-a572-2b2da05a0a98' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8abcd2d1-3beb-43e5-a572-2b2da05a0a98' 021ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:18.004 [print] https:\/\/geodata.nationaalgeoregister.nl\/nhi\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:18.005 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:18.006 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:18.006 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:18.007 [print] Beheer PDOK 
* print operateson 000ms
04:56:18.007 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:18.009 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:18.010 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:18.011 [print] "true";"true" 
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:17.510 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e9ba7d7f-6cd1-4271-bce4-56432924b338' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e9ba7d7f-6cd1-4271-bce4-56432924b338' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:18.054 [print] https://geodata.nationaalgeoregister.nl/mosselzaadinvanginstallaties/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:18.055 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:18.055 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:18.056 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:18.056 [print] Beheer PDOK 
* print operateson 000ms
04:56:18.057 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:18.058 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:18.059 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:18.060 [print] "true";"true" 
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:17.661 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
572ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 558ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:18.229 [print] https:\/\/geodata.nationaalgeoregister.nl\/nhi\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:18.229 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:18.230 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:18.230 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:18.231 [print] Beheer PDOK 
* print operateson 000ms
04:56:18.231 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:18.233 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:18.234 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:18.235 [print] "true";"true" 
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:17.725 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
565ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0bc2bcb8-558b-446b-b4e2-381b13d483a8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 550ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bc2bcb8-558b-446b-b4e2-381b13d483a8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:18.288 [print] https://geodata.nationaalgeoregister.nl/mosselenoesterhabitats/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:18.288 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:18.289 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:18.290 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:18.290 [print] Beheer PDOK 
* print operateson 000ms
04:56:18.291 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:18.292 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:18.293 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:18.294 [print] "true";"true" 
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:18.015 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c78a99eb-9ba3-4307-a21b-2a64ad5da039' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c78a99eb-9ba3-4307-a21b-2a64ad5da039' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:18.559 [print] https://geodata.nationaalgeoregister.nl/mosselzaadinvanginstallaties/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:18.560 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:18.561 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:18.561 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:18.561 [print] Beheer PDOK 
* print operateson 000ms
04:56:18.562 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:18.564 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:18.565 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:18.567 [print] "true";"true" 
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:18.063 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
579ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 557ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 005ms
* print connectUrl 000ms
04:56:18.634 [print] https://geodata.nationaalgeoregister.nl/nationaleparken/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:18.635 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:18.636 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:18.637 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:18.638 [print] Beheer PDOK 
* print operateson 000ms
04:56:18.638 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
04:56:18.641 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:18.643 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:18.644 [print] "true";"true" 
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:18.238 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
553ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b87a0095-2ad7-4dbb-81a1-fed060df79e1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 542ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b87a0095-2ad7-4dbb-81a1-fed060df79e1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:18.791 [print] https://geodata.nationaalgeoregister.nl/nationaleparken/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:18.792 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:18.792 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:18.793 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:18.793 [print] Beheer PDOK 
* print operateson 000ms
04:56:18.793 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:18.795 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:18.795 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:18.796 [print] "true";"true" 
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:18.298 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
553ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:18.847 [print] https:\/\/geodata.nationaalgeoregister.nl\/nwbwegen\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:18.847 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:18.848 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:18.848 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:18.849 [print] Beheer PDOK 
* print operateson 000ms
04:56:18.849 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:18.850 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:18.851 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:18.852 [print] "true";"true" 
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:18.570 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '598c4109-21d2-4a6c-b083-9975a6736849' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736849' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:19.117 [print] https:\/\/geodata.nationaalgeoregister.nl\/nwbvaarwegen\/wms?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:19.118 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:19.119 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:19.119 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:19.120 [print] Beheer PDOK 
* print operateson 000ms
04:56:19.120 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:19.122 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:19.123 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:19.124 [print] "true";"true" 
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:18.647 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '918388cf-9d8c-4264-b108-3e375bde0d52' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '918388cf-9d8c-4264-b108-3e375bde0d52' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:19.188 [print] https:\/\/geodata.nationaalgeoregister.nl\/noordzeevaarwegmarkeringenrd\/wms?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:19.190 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:19.191 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:19.191 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:19.193 [print] Beheer PDOK 
* print operateson 000ms
04:56:19.193 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:19.195 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:19.197 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:19.198 [print] "true";"true" 
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:18.799 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
555ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '171b28f6-7ee7-46f9-b3b3-06d0baaa33db' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '171b28f6-7ee7-46f9-b3b3-06d0baaa33db' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:19.348 [print] https:\/\/service.pdok.nl\/cbs\/pd\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:19.349 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:19.351 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:19.351 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:19.352 [print] Beheer PDOK 
* print operateson 000ms
04:56:19.352 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:19.354 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:19.354 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:19.355 [print] "true";"true" 
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:18.855 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '62c0d0a5-5826-406d-a625-d84bc5fec800' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62c0d0a5-5826-406d-a625-d84bc5fec800' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:19.396 [print] https:\/\/geodata.nationaalgeoregister.nl\/noordzeevaarwegmarkeringenrd\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:19.397 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:19.398 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:19.398 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:19.399 [print] Beheer PDOK 
* print operateson 000ms
04:56:19.399 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:19.401 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:19.402 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:19.403 [print] "true";"true" 
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 002ms
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:19.127 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1bd24d1e-aa13-4395-809e-893570f7c651' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bd24d1e-aa13-4395-809e-893570f7c651' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:19.672 [print] https://geodata.nationaalgeoregister.nl/overheidsdiensten/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:19.673 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:19.675 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:19.675 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:19.676 [print] Beheer PDOK 
* print operateson 000ms
04:56:19.676 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:19.678 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:19.679 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:19.679 [print] "true";"true" 
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:19.202 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '598c4109-21d2-4a6c-b083-9975a6736853' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736853' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 002ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:19.748 [print] https:\/\/geodata.nationaalgeoregister.nl\/weggeg\/wms?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:19.750 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:19.751 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:19.751 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:19.752 [print] Beheer PDOK 
* print operateson 000ms
04:56:19.753 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=27df6b33-194c-46d6-ac94-257c306c91f2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:19.755 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:19.756 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:19.757 [print] "true";"true" 
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:19.360 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '684ff4f6-1652-45a8-93f0-8e16d37b2a66' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684ff4f6-1652-45a8-93f0-8e16d37b2a66' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:19.904 [print] https://geodata.nationaalgeoregister.nl/hwh/eenheden/wms/v1_0?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:19.905 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:19.906 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:19.906 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
04:56:19.909 [print] Beheer PDOK 
* print operateson 000ms
04:56:19.909 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:19.911 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-view-services-1 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:19.912 [print] "Waterschappen Administratieve eenheden INSPIRE";"Technische specificatie waarmee de service volledig conform is";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Deze service voldoet aan de specificaties voor spatial data services";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:19.913 [print] "true";"true";"true" 
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:19.410 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8e7686c3-f75e-411f-866e-6985267b916b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 608ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8e7686c3-f75e-411f-866e-6985267b916b' 008ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 008ms
* def title = get response //citation/CI_Citation/title/CharacterString 007ms
* def email = get response //electronicMailAddress/CharacterString 006ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 006ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 006ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 004ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 004ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:20.078 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsgebiedsoorten\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 004ms
* print protocol1 000ms
04:56:20.083 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 004ms
* print protocol2 000ms
04:56:20.088 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:20.088 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 006ms
* print organisationpath 000ms
04:56:20.094 [print] Beheer PDOK 
* print operateson 000ms
04:56:20.094 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 006ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 019ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 001ms
* print corConformanceHref 000ms
04:56:20.122 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 006ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:20.129 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 006ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:20.136 [print] "true";"true" 
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:19.684 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
689ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e69bb2e9-eff4-4fb3-86a6-057cf628e761' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 580ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e69bb2e9-eff4-4fb3-86a6-057cf628e761' 005ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 006ms
* def title = get response //citation/CI_Citation/title/CharacterString 006ms
* def email = get response //electronicMailAddress/CharacterString 006ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 006ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 015ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 006ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 014ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 006ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:20.341 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsoorten\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 003ms
* print protocol1 000ms
04:56:20.345 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 003ms
* print protocol2 000ms
04:56:20.348 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:20.349 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 004ms
* print organisationpath 000ms
04:56:20.354 [print] Beheer PDOK 
* print operateson 000ms
04:56:20.354 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 004ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 004ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:20.364 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 004ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:20.369 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 005ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:20.374 [print] "true";"true" 
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:19.761 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
564ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4fb15e0d-d88f-40f1-b407-3d3edcf7e184' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4fb15e0d-d88f-40f1-b407-3d3edcf7e184' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:20.308 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-ro\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 004ms
* print protocol1 000ms
04:56:20.314 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:20.315 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 006ms
* print protocol 000ms
04:56:20.321 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:20.322 [print] Beheer PDOK 
* print operateson 000ms
04:56:20.323 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:20.325 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:20.326 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:20.327 [print] "true";"true" 
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:19.916 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '180b6682-5d6f-429d-abb7-32f7d6253787' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '180b6682-5d6f-429d-abb7-32f7d6253787' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:20.458 [print] https://geodata.nationaalgeoregister.nl/windkaart/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:20.459 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:20.460 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:20.460 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:20.461 [print] Beheer PDOK 
* print operateson 000ms
04:56:20.461 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:20.463 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:20.464 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:20.465 [print] "true";"true" 
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:20.139 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd981070b-888c-42d5-85ff-1e383f3d7fce' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd981070b-888c-42d5-85ff-1e383f3d7fce' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:20.677 [print] https://geodata.nationaalgeoregister.nl/windkaart/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:20.678 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:20.679 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:20.679 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:20.680 [print] Beheer PDOK 
* print operateson 000ms
04:56:20.680 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:20.682 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:20.682 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:20.683 [print] "true";"true" 
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:20.332 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 003ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
538ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4805aac3-9a8d-4fcd-851b-88c7b3d342e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 526ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4805aac3-9a8d-4fcd-851b-88c7b3d342e2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:20.871 [print] https://service.pdok.nl/kadaster/sr/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:20.871 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:20.872 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:20.872 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:20.873 [print] Beheer PDOK 
* print operateson 000ms
04:56:20.873 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:20.874 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:20.875 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:20.875 [print] "true";"true" 
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:20.378 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
563ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2650d49b-7d9a-49b5-b748-a0372cd9b5cf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 541ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2650d49b-7d9a-49b5-b748-a0372cd9b5cf' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 005ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:20.954 [print] http:\/\/geodata.nationaalgeoregister.nl\/wsdiensteninspire\/wms?request=getcapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:20.955 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:20.956 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:20.957 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:20.958 [print] Beheer PDOK 
* print operateson 000ms
04:56:20.958 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:20.960 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-view-services-1 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:20.962 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:20.963 [print] "true";"true" 
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:20.469 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
543ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a84f9836-9111-4e45-a311-3dab39019e15' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 524ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a84f9836-9111-4e45-a311-3dab39019e15' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:21.005 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-w\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:21.006 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:21.007 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:21.008 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:21.009 [print] Beheer PDOK 
* print operateson 000ms
04:56:21.009 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:21.011 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:21.013 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:21.014 [print] "true";"true" 
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:20.688 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '67bcc21d-beda-449d-975c-00a4fa80f2b7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '67bcc21d-beda-449d-975c-00a4fa80f2b7' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
04:56:21.233 [print] https:\/\/service.pdok.nl\/hwh\/hydrografie\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:21.234 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:21.235 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:21.235 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:21.237 [print] Beheer PDOK 
* print operateson 000ms
04:56:21.237 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:21.239 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:21.240 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:21.241 [print] "true";"true" 
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:20.879 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0d7ca7bc-99de-4539-af33-70b206f29355' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d7ca7bc-99de-4539-af33-70b206f29355' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:21.423 [print] https://service.pdok.nl/kadaster/adressen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:21.424 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:21.424 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:21.425 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:21.425 [print] Beheer PDOK 
* print operateson 000ms
04:56:21.425 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:21.427 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:21.428 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:21.428 [print] "true";"true" 
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:20.967 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '22bedc12-e9cb-4419-8e51-dfb375d46d01' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 539ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '22bedc12-e9cb-4419-8e51-dfb375d46d01' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:21.516 [print] http://services.inspire-provincies.nl/NaturalRiskZones/services/view_NZ?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:21.517 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:21.517 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:21.518 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:21.518 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:56:21.519 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:21.520 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:21.521 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:21.522 [print] "false";"true";"true" 
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:21.018 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 003ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd1cb16ca-2029-454f-b3f1-f70bceaf62c1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 539ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd1cb16ca-2029-454f-b3f1-f70bceaf62c1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:21.569 [print] https:\/\/service.pdok.nl\/bzk\/bro-geomorfologischekaart\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:21.570 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:21.571 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:21.571 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:21.572 [print] Beheer PDOK 
* print operateson 000ms
04:56:21.572 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8f52e76f-c96d-4df3-a778-279c2164372b#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=459231d0-7379-4f26-a444-7616e1d888f0#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:21.573 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:21.574 [print] #notpresent 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:21.575 [print] #notpresent 
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:21.244 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
561ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 549ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:21.802 [print] https://service.pdok.nl/bzk/bro-geomorfologischekaart/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:21.803 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:21.804 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:21.804 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:21.805 [print] Beheer PDOK 
* print operateson 000ms
04:56:21.805 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8f52e76f-c96d-4df3-a778-279c2164372b#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=459231d0-7379-4f26-a444-7616e1d888f0#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:21.806 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:21.807 [print] #notpresent 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:21.808 [print] #notpresent 
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:21.432 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
565ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a301ddc7-c26f-42d8-b367-509ae5ae47d0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 550ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a301ddc7-c26f-42d8-b367-509ae5ae47d0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:21.992 [print] https:\/\/service.pdok.nl\/hwh\/luchtfotorgb\/wms\/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:21.993 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:21.994 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:21.994 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:21.995 [print] Beheer PDOK 
* print operateson 000ms
04:56:21.995 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=74aca3eb-c38b-4214-9537-e0abc69e11b5#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5b274449-b6c2-4672-a32f-e0bd40975a53#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=df15af6e-0d21-4437-a69f-802be3479bba#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=64ff8561-5c56-4cc1-ae0e-94366fb70b7e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4e2bb25e-a5a9-43a7-986a-40e7aea32e38#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:21.997 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:21.998 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:21.999 [print] "true";"true" 
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:21.525 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
557ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd7a395a2-8673-4794-a5a6-fed6492cd580' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 542ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7a395a2-8673-4794-a5a6-fed6492cd580' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:22.076 [print] https:\/\/service.pdok.nl\/hwh\/luchtfotocir\/wms\/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:22.077 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:22.078 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:22.079 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:22.079 [print] Beheer PDOK 
* print operateson 000ms
04:56:22.080 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1be28290-55fa-4486-b9d3-b9d147117863#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=7c24ea89-074e-4c4f-91e3-d38e813e9cb6#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9ed6b8ed-254a-4745-a09a-3b57137d1b69#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4cfb1469-a152-4ba6-8fe9-4b627acd7ee0#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:22.081 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:22.082 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:22.083 [print] "true";"true" 
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:21.578 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
546ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '008d85d1-460d-46f6-9af4-98afdedbc4dc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '008d85d1-460d-46f6-9af4-98afdedbc4dc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:22.119 [print] https://service.pdok.nl/cbs/pd/wfs/v1_0?service=WFS&request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:22.120 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:22.120 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:22.121 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:22.121 [print] Beheer PDOK 
* print operateson 000ms
04:56:22.122 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:22.123 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs ." 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:22.124 [print] "Deze service voldoet aan specificaties voor spatial data services";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:22.125 [print] "true";"true";"true" 
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:21.811 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '60dc9632-50c8-40b1-ac63-cd91b85352d2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '60dc9632-50c8-40b1-ac63-cd91b85352d2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:22.351 [print] https://service.pdok.nl/cbs/wb2021/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:22.352 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:22.354 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:22.354 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:22.355 [print] Beheer PDOK 
* print operateson 000ms
04:56:22.356 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:22.358 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:22.359 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:22.360 [print] "true";"true";"true" 
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:22.002 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bd14098b-44e6-47e5-959d-f40dda65da5a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bd14098b-44e6-47e5-959d-f40dda65da5a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:22.547 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:22.548 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:22.549 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:22.549 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:22.550 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:22.550 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:22.551 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:22.552 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:22.553 [print] "false";"false" 
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:22.087 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f2d2cd9d-7410-485a-95e0-c1b885243eaf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2d2cd9d-7410-485a-95e0-c1b885243eaf' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:22.630 [print] https://inspire.caris.nl/geoserver/auwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:22.631 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:22.632 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:22.632 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:22.633 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:22.633 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:22.635 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:22.636 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:22.636 [print] "true";"true" 
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:22.132 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
541ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8129296b-b9c1-489f-990a-df4a879e12b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8129296b-b9c1-489f-990a-df4a879e12b2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:22.668 [print] https://service.pdok.nl/cbs/hh/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:22.669 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:22.670 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:22.670 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:22.671 [print] Beheer PDOK 
* print operateson 000ms
04:56:22.671 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:22.673 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:22.674 [print] "Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:22.675 [print] "true";"true";"true" 
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:22.364 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
544ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:22.902 [print] https://inspire.caris.nl/geoserver3/bathy_wcs/wcs?request=GetCapabilities&service=WCS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:22.903 [print] OGC:WCS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:22.903 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 002ms
04:56:22.906 [print] OGC:WCS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:22.907 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:22.907 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:22.908 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:22.909 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services 2.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:22.910 [print] "true";"true" 
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:22.556 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0bb27a13-76f1-4374-8d44-76e937198e8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bb27a13-76f1-4374-8d44-76e937198e8d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:23.100 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-Maritieme-grenzen-Noordzee.gml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:23.101 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:23.101 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:23.102 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:23.102 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:23.102 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:23.104 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:23.105 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Dataset is geharmoniseerd";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:23.106 [print] "true";"true" 
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:22.639 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0898d4a9-8fe6-46e9-8855-1242d8028970' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 536ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0898d4a9-8fe6-46e9-8855-1242d8028970' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:23.183 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnoverstromingsrisico2018/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:23.184 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:23.185 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:23.185 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:23.186 [print] Beheer PDOK 
* print operateson 000ms
04:56:23.186 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ror-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ror-9d8e-4758-83fx-28b057f185e1#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:23.188 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:23.189 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:23.189 [print] "true";"true" 
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:22.678 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
558ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b85d4a0a-c0f7-42f4-9316-b214d205ca38' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 543ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b85d4a0a-c0f7-42f4-9316-b214d205ca38' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:23.230 [print] http://inspire.rdw.nl/www/download/rdw-inspire.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:23.231 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:23.231 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:23.232 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:23.233 [print] RDW 
* print operateson 000ms
04:56:23.233 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe2f9091-1962-4073-9e3b-3e4aeed488a5#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:23.235 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:23.236 [print] "Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Evaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Gecontroleerd met INSPIRE verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:23.237 [print] "true";"true" 
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:22.914 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
565ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 543ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:23.466 [print] https://service.pdok.nl/cbs/pd/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:23.467 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 003ms
* print protocol2 000ms
04:56:23.470 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
04:56:23.472 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:23.472 [print] Beheer PDOK 
* print operateson 000ms
04:56:23.473 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:23.474 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:23.475 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:23.476 [print] "true";"true" 
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 004ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:23.109 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'efb5222c-112a-4c57-9bbf-f2af918cb9b5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'efb5222c-112a-4c57-9bbf-f2af918cb9b5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:23.653 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-aansluitende-zone-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:23.654 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:23.655 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:23.655 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:23.657 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:23.658 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:23.659 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:23.660 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:23.661 [print] "true";"true" 
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:23.193 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
570ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bb85e473-c04a-42a6-9fdc-f0bb0239327e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 543ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bb85e473-c04a-42a6-9fdc-f0bb0239327e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:23.748 [print] https://service.pdok.nl/kadaster/gebouwen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:23.749 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:23.750 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:23.750 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:23.751 [print] Beheer PDOK 
* print operateson 000ms
04:56:23.751 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 010ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:23.762 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:23.764 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:23.765 [print] "true";"true" 
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:23.240 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:23.783 [print] https://service.pdok.nl/kadaster/hy/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:23.784 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:23.785 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:23.785 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:23.786 [print] Beheer PDOK 
* print operateson 000ms
04:56:23.787 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:23.788 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:23.790 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:23.791 [print] "true";"true" 
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:23.483 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
553ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e08079df-6c19-486e-916e-5c9948cfafea' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e08079df-6c19-486e-916e-5c9948cfafea' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 002ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:24.026 [print] https://geodata.nationaalgeoregister.nl/inspire/su-vector/wfs?&request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:24.027 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:24.028 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:24.028 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:24.029 [print] Beheer PDOK 
* print operateson 005ms
04:56:24.034 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:24.036 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:24.037 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:24.038 [print] "true";"true" 
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:23.665 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
574ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 552ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:24.227 [print] https://inspire.caris.nl/gs5/ProspectingAndMiningPermitArea/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:24.228 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:24.229 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:24.229 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:24.231 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:24.232 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 003ms
* print corConformanceHref 000ms
04:56:24.237 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:24.239 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:24.240 [print] "true";"true" 
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:23.768 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
544ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '027e3f15-3b58-4570-97bb-779ce3ca947e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 523ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '027e3f15-3b58-4570-97bb-779ce3ca947e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 005ms
* print connectUrl 000ms
04:56:24.306 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2019/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:24.307 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:24.308 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:24.309 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:24.310 [print] Beheer PDOK 
* print operateson 000ms
04:56:24.311 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:24.312 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:24.314 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:24.315 [print] "true";"true" 
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:23.794 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
541ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 526ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:24.329 [print] https://inspire.rivm.nl/geoserver/airq/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:24.330 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:24.331 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:24.331 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:24.333 [print] RIVM 
* print operateson 000ms
04:56:24.333 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:24.335 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:24.336 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:24.337 [print] "true";"true";"true" 
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:24.041 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a02c6566-e0ad-4fc1-b217-67cc1099dea2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a02c6566-e0ad-4fc1-b217-67cc1099dea2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:24.587 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:24.588 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:24.589 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:24.589 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:24.590 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:24.590 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 004ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:24.595 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:24.598 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:24.599 [print] "false";"false" 
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:24.244 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
557ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'deb81ebe-c7a7-42ba-bc21-f07cd348c3e8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 541ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'deb81ebe-c7a7-42ba-bc21-f07cd348c3e8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:24.796 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw-inspire?request=GetCapabilities&Service=CSW&Version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:24.797 [print] OGC:CSW 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:24.798 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:24.798 [print] OGC:CSW 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:24.799 [print] Beheer PDOK 
* print operateson 000ms
04:56:24.799 [print] #notpresent 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:24.801 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-discovery-services-0" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:24.802 [print] "Deze service is conform INSPIRE richtlijn betreffende netwerkdiensten";"Deze service is conform INSPIRE richtlijn betreffende diensten met betrekking tot ruimtelijke gegevens";"Deze service is conform de Technical Guidance for INSPIRE Discovery Services" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:24.803 [print] "true";"true";"true" 
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:24.318 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
574ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3d01c1ca-973c-4652-baa5-39458bb9e181' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 549ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d01c1ca-973c-4652-baa5-39458bb9e181' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:24.877 [print] https://geodata.nationaalgeoregister.nl/schelpdierenpercelen/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:24.878 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:24.880 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:24.881 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 005ms
04:56:24.889 [print] Beheer PDOK 
* print operateson 000ms
04:56:24.889 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:24.891 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
04:56:24.893 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:24.894 [print] "true";"true" 
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:24.341 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
555ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '364c5d7a-d6ec-11ea-87d0-0242ac130003' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 529ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '364c5d7a-d6ec-11ea-87d0-0242ac130003' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:24.878 [print] #notpresent 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:24.879 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:24.880 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:24.880 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 001ms
04:56:24.883 [print] TNO Geologische Dienst Nederland 
* print operateson 002ms
04:56:24.885 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=2a379cc6-d16e-11ea-87d0-0242ac130003&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:24.887 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 004ms
04:56:24.892 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 004ms
04:56:24.898 [print] "true";"true" 
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:24.603 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
571ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '243c6401-9ed1-4cdd-b9a7-caff08813ce4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 554ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '243c6401-9ed1-4cdd-b9a7-caff08813ce4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 003ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:25.170 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-EEZ-volgens-UNCLOS-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:25.171 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:25.172 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:25.172 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:25.173 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:25.173 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:25.175 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:25.176 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:25.177 [print] "true";"true" 
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:24.811 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
541ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '13e4dff0-1e80-11e2-81c1-0800200c9a66' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 528ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '13e4dff0-1e80-11e2-81c1-0800200c9a66' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:25.348 [print] https://www.gdngeoservices.nl/inspire/downloads/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:25.349 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:25.350 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:25.350 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:25.350 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:25.351 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:25.353 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:25.354 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:25.354 [print] "true";"true" 
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:24.899 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5be14ec9-9bb3-4395-a061-e7e78d04a527' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be14ec9-9bb3-4395-a061-e7e78d04a527' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:25.443 [print] https://geodata.nationaalgeoregister.nl/inspire/bu/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:25.444 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:25.445 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:25.445 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:25.447 [print] Beheer PDOK 
* print operateson 000ms
04:56:25.447 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:25.449 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:25.450 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:25.452 [print] "true";"true" 
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:24.901 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
593ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a7aeddf2-3b37-4668-9c75-de93d9326276' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 571ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7aeddf2-3b37-4668-9c75-de93d9326276' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:25.480 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-natura2000/wms?request=Getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:25.481 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:25.482 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:25.482 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:25.483 [print] Beheer PDOK 
* print operateson 000ms
04:56:25.483 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:25.485 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:25.485 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 010ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:25.496 [print] "true";"true" 
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:25.180 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:25.724 [print] https:\/\/geodata.nationaalgeoregister.nl\/rwsgeluidskaarten\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:25.726 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:25.727 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:25.727 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:25.728 [print] Beheer PDOK 
* print operateson 000ms
04:56:25.729 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:25.731 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:25.733 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:25.734 [print] "true";"true" 
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:25.358 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '060d1139-c371-4c1e-9890-55999adfa4f9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 536ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '060d1139-c371-4c1e-9890-55999adfa4f9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:25.903 [print] https://inspire.caris.nl/geoserver/auwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:25.903 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:25.904 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:25.904 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:25.905 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:25.905 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:25.906 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:25.907 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:25.908 [print] "true";"true" 
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:25.455 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7dc30aed-0940-4e69-b34c-9f24b34078eb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 536ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dc30aed-0940-4e69-b34c-9f24b34078eb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:26.002 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:26.003 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:26.003 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:26.003 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:26.004 [print] RIVM 
* print operateson 000ms
04:56:26.004 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:26.006 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:26.006 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:26.007 [print] "true";"true";"true" 
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:25.500 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7681eb19-a914-4dc7-9208-c2a131dca06d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7681eb19-a914-4dc7-9208-c2a131dca06d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:26.043 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/kaderrichtlijnwater2015\/wms\/v1_0?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:26.044 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:26.045 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:26.045 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:26.046 [print] Beheer PDOK 
* print operateson 000ms
04:56:26.046 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:26.047 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:26.048 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:26.049 [print] "true";"true" 
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:25.738 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
534ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd293204f-6581-4b0a-811b-1dcce97adedd' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 519ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd293204f-6581-4b0a-811b-1dcce97adedd' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:26.266 [print] https://geodata.nationaalgeoregister.nl/publiekrechtelijkebeperking/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:26.267 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:26.268 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:26.268 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:26.270 [print] Beheer PDOK 
* print operateson 000ms
04:56:26.270 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:26.272 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:26.273 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:26.274 [print] "true";"true" 
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:25.912 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
565ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'aaf53e6f-fe99-4a86-a61c-50b128412d80' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 536ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aaf53e6f-fe99-4a86-a61c-50b128412d80' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 012ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:26.469 [print] https://geodata.nationaalgeoregister.nl/mosselenoesterhabitats/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:26.470 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:26.471 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:26.472 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:26.473 [print] Beheer PDOK 
* print operateson 000ms
04:56:26.473 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:26.476 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:26.477 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:26.478 [print] "true";"true" 
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:26.010 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 526ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:26.546 [print] http:\/\/services.inspire-provincies.nl\/ProductionAndIndustrialFacilities\/services\/view_PF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:26.547 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:26.548 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:26.549 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:26.550 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:56:26.551 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 004ms
* print corConformanceHref 000ms
04:56:26.557 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:26.559 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:26.560 [print] "false";"true";"true" 
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:26.052 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
539ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 525ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:26.585 [print] https://inspire.caris.nl/gs5/ProspectingAndMiningPermitArea/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:26.586 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:26.587 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:26.588 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:26.589 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:26.589 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:26.591 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:26.592 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:26.593 [print] "true";"true" 
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:26.277 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
569ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '25c69c01-8dfa-406f-bbcb-24feba25dcc6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 552ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25c69c01-8dfa-406f-bbcb-24feba25dcc6' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:26.839 [print] https://geodata.nationaalgeoregister.nl/provincies/ps/wms/v1?SERVICE=WMS&REQUEST=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:26.839 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:26.840 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:26.840 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:26.842 [print] Beheer PDOK 
* print operateson 000ms
04:56:26.843 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:26.845 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:26.846 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:26.848 [print] "true";"true" 
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:26.482 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
801ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '76854ff3-a853-4405-b9fd-acef66460376' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 696ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76854ff3-a853-4405-b9fd-acef66460376' 003ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 005ms
* def title = get response //citation/CI_Citation/title/CharacterString 005ms
* def email = get response //electronicMailAddress/CharacterString 005ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 018ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 006ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 004ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 003ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 003ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:27.240 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsgebiedsoorten\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 003ms
* print protocol1 000ms
04:56:27.244 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 003ms
* print protocol2 000ms
04:56:27.248 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:27.249 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 010ms
* print organisationpath 000ms
04:56:27.260 [print] Beheer PDOK 
* print operateson 000ms
04:56:27.260 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 006ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 005ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:27.273 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 005ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:27.279 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 005ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:27.286 [print] "true";"true" 
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:26.564 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
580ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c664a91-1aa2-4923-9d17-6a43e4075f47' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 567ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c664a91-1aa2-4923-9d17-6a43e4075f47' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:27.140 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-Territoriale-Zee-Noordzee-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:27.141 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:27.142 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:27.142 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:27.143 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:27.143 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:27.144 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:27.145 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:27.146 [print] "true";"true" 
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:26.597 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
752ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '37e05521-c323-4dbe-aba4-de1178ba44a5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 660ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37e05521-c323-4dbe-aba4-de1178ba44a5' 003ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 008ms
* def title = get response //citation/CI_Citation/title/CharacterString 005ms
* def email = get response //electronicMailAddress/CharacterString 011ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 006ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 005ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 003ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 003ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:27.314 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsoorten\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 003ms
* print protocol1 000ms
04:56:27.317 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 003ms
* print protocol2 000ms
04:56:27.321 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:27.321 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 005ms
* print organisationpath 000ms
04:56:27.327 [print] Beheer PDOK 
* print operateson 000ms
04:56:27.328 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 005ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 005ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:27.339 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 005ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:27.345 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 005ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:27.351 [print] "true";"true" 
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:26.851 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
673ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c374d556-7b6e-459b-83c7-74da6ad90a59' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 639ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c374d556-7b6e-459b-83c7-74da6ad90a59' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 019ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:27.519 [print] https://geodata.nationaalgeoregister.nl/schelpdierwater/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:27.520 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:27.521 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:27.521 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:27.522 [print] Beheer PDOK 
* print operateson 000ms
04:56:27.522 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:27.523 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
04:56:27.525 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:27.526 [print] "true";"true" 
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:27.149 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
579ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2b9da196-422e-4b0e-a5ba-ba41ade308e9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 550ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2b9da196-422e-4b0e-a5ba-ba41ade308e9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:27.717 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingtypen\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:27.718 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:27.720 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:27.720 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:27.722 [print] Beheer PDOK 
* print operateson 000ms
04:56:27.722 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:27.726 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:27.728 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:27.730 [print] "true";"true" 
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:27.290 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
539ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '93c8762c-4cbb-42b0-9b02-89ef902e8880' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 523ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93c8762c-4cbb-42b0-9b02-89ef902e8880' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:27.822 [print] https://service.pdok.nl/provincies/ps/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:27.823 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:27.824 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:27.825 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:27.826 [print] Beheer PDOK 
* print operateson 000ms
04:56:27.827 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:27.828 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:27.830 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:27.831 [print] "true";"true" 
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:27.354 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
567ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '63f622ef-46b3-411a-a2aa-045cabf1e3ac' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 543ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '63f622ef-46b3-411a-a2aa-045cabf1e3ac' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 004ms
04:56:27.914 [print] https://geodata.nationaalgeoregister.nl/provincies/ps/wfs/v1?SERVICE=WFS&REQUEST=GetCapabilities&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:27.915 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:27.916 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:27.917 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:27.918 [print] Beheer PDOK 
* print operateson 000ms
04:56:27.918 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:27.920 [print] https://eur-lex.europa.eu/eli/reg/2010/1089 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:27.922 [print] "OGC WFS 1.0.0";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Deze service voldoet aan de specificaties voor spatial data services";"harmonised";"De service voldoet aan de requirements van de harmonised conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:27.923 [print] "true";"true";"true" 
* eval db.writeln('"63f622ef-46b3-411a-a2aa-045cabf1e3ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"63f622ef-46b3-411a-a2aa-045cabf1e3ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"63f622ef-46b3-411a-a2aa-045cabf1e3ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:27.530 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '01572637-b851-4cc3-b06a-56c1ae1115cc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01572637-b851-4cc3-b06a-56c1ae1115cc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:28.071 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
04:56:28.074 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:28.075 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:28.075 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:28.076 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:56:28.076 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:28.078 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:28.079 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:28.080 [print] "false";"false" 
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:27.733 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
621ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4f4c7848-1767-4c67-be08-87d45d07f313' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 576ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4f4c7848-1767-4c67-be08-87d45d07f313' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
04:56:28.335 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebieden\/v2\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:28.338 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:28.341 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:28.341 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
04:56:28.344 [print] Beheer PDOK 
* print operateson 000ms
04:56:28.345 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 003ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:28.351 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:28.355 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:28.358 [print] "true";"true" 
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:27.835 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
546ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a12ae6ca-b755-4707-884f-95c0d66f431a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 516ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a12ae6ca-b755-4707-884f-95c0d66f431a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:28.362 [print] https://inspire.caris.nl/gs5/MarineRegion/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:28.363 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:28.363 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:28.364 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:28.364 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:28.364 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:28.367 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:28.368 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 011ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 002ms
04:56:28.383 [print] "true";"true" 
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:27.927 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
555ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '94f241c2-43a2-42c3-8e9e-71976605aa0e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94f241c2-43a2-42c3-8e9e-71976605aa0e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:28.483 [print] https://service.pdok.nl/brt/top10nl/wms/v1_0?service=wms&request=getCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:28.485 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:28.486 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:28.486 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:28.487 [print] Beheer PDOK 
* print operateson 000ms
04:56:28.487 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4b282988-cb91-4bbc-b147-f653014917cb#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:28.490 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:28.491 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:28.492 [print] "true";"true" 
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:28.083 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 538ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:28.630 [print] https://www.broinspireservices.nl/wms/ossobor-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:28.631 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:28.631 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:28.632 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:28.632 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:28.633 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:28.634 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:28.635 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:28.635 [print] "true";"false" 
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:28.361 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '25a99d92-ea8a-4163-82ab-3521c9b0c96b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 536ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25a99d92-ea8a-4163-82ab-3521c9b0c96b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:28.909 [print] https:\/\/geodata.nationaalgeoregister.nl\/bestandbodemgebruik2015\/wfs?service=WFS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:28.910 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:28.911 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:28.912 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:28.912 [print] Beheer PDOK 
* print operateson 000ms
04:56:28.913 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:28.914 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:28.915 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:28.916 [print] "true";"true" 
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:28.389 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
559ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c80458b-12c6-4d38-8f6d-387ab6e4ed21' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 538ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c80458b-12c6-4d38-8f6d-387ab6e4ed21' 008ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:28.945 [print] https://geodata.nationaalgeoregister.nl/natura2000/wms?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:28.946 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:28.946 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:28.947 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:28.948 [print] Beheer PDOK 
* print operateson 000ms
04:56:28.948 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:28.949 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:28.951 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:28.952 [print] "true";"true" 
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:28.496 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
538ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bfcc588f-9393-4c70-b989-d9e92ac2f493' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 522ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfcc588f-9393-4c70-b989-d9e92ac2f493' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:29.028 [print] https:\/\/geodata.nationaalgeoregister.nl\/ahn3\/wcs?&service=wcs&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:29.029 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:29.030 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:29.031 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:29.032 [print] Beheer PDOK 
* print operateson 000ms
04:56:29.032 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:29.033 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-download-services 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:29.035 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"de service is conform";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:29.036 [print] "true";"true" 
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:28.639 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
553ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1601e160-91e8-4091-9aca-10294f819d42' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1601e160-91e8-4091-9aca-10294f819d42' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:29.187 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-natura2000/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:29.188 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:29.188 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:29.189 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:29.189 [print] Beheer PDOK 
* print operateson 000ms
04:56:29.190 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:29.191 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:29.192 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:29.193 [print] "true";"true" 
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:28.920 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
559ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68d14b1c-71ad-4ce7-8267-45787a80c2d4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68d14b1c-71ad-4ce7-8267-45787a80c2d4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 007ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:29.474 [print] https:\/\/geodata.nationaalgeoregister.nl\/inspire\/ad\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:29.475 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:29.475 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:29.476 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:29.476 [print] Beheer PDOK 
* print operateson 000ms
04:56:29.477 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:29.478 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:29.479 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:29.480 [print] "true";"true" 
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:28.956 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
571ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9ff1a13c-d1e0-4150-8523-91cb489ae1a4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 551ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff1a13c-d1e0-4150-8523-91cb489ae1a4' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:29.518 [print] https://geodata.nationaalgeoregister.nl/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:29.519 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:29.520 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:29.520 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:29.521 [print] Beheer PDOK 
* print operateson 002ms
04:56:29.524 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d25fe199-2430-48fd-ad57-5b5f79f73cdf#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=bbece924-9aab-4e00-8392-bce36b8f494e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:29.526 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:29.527 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"notEvaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:29.529 [print] "false";"true";"true" 
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:29.039 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68505be5-45c4-4889-a82a-125043bbdc44' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68505be5-45c4-4889-a82a-125043bbdc44' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:29.580 [print] https://www.broinspireservices.nl/wfs/osgebor-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:29.580 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:29.581 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:29.582 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:29.583 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:29.583 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:29.585 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:29.586 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:29.587 [print] "false";"true" 
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:29.197 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
554ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:29.740 [print] https://www.broinspireservices.nl/wms/osgebor-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:29.741 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:29.742 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 004ms
04:56:29.747 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:29.748 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:29.748 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:29.750 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:29.751 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:29.752 [print] "true";"false" 
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:29.484 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '542b330b-d3c6-4617-b97f-693e5cfd1872' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '542b330b-d3c6-4617-b97f-693e5cfd1872' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
04:56:30.026 [print] https://www.broinspireservices.nl/wfs/osamepl-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:30.027 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:30.028 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:30.028 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:30.029 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:56:30.029 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:30.031 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:30.032 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:30.033 [print] "true";"true" 
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:29.532 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
557ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'db1e010a-96f8-453e-b63c-9c27d6273157' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 543ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db1e010a-96f8-453e-b63c-9c27d6273157' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:30.085 [print] https:\/\/geodata.nationaalgeoregister.nl\/bestandbodemgebruik2015\/wms?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:30.086 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:30.087 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:30.087 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:30.088 [print] Beheer PDOK 
* print operateson 000ms
04:56:30.088 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:30.090 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:30.091 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:30.092 [print] "true";"true" 
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:29.591 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
557ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7b8f44b5-6eae-4113-a835-84b8678c3dd5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 545ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b8f44b5-6eae-4113-a835-84b8678c3dd5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:30.144 [print] https://service.pdok.nl/rce/ps-ch/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:30.145 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:30.146 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:30.146 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:30.147 [print] Beheer PDOK 
* print operateson 000ms
04:56:30.147 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:30.148 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:30.149 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:30.150 [print] "true";"true" 
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:29.756 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
557ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1009c2a4-4dba-49a5-b643-914ba8b80b52' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1009c2a4-4dba-49a5-b643-914ba8b80b52' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 007ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:30.309 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:30.310 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:30.310 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:30.310 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:30.311 [print] KNMI 
* print operateson 000ms
04:56:30.311 [print] https://haleconnect.com/services/bsp/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:30.313 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:30.314 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:30.315 [print] true 
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:30.036 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
566ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '641a0f48-872b-4470-b130-e3d28e6bfdfb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 551ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '641a0f48-872b-4470-b130-e3d28e6bfdfb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:30.597 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnmarienestrategie2018/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:30.597 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:30.598 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:30.598 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:30.599 [print] Beheer PDOK 
* print operateson 000ms
04:56:30.599 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:30.600 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:30.601 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:30.604 [print] "true";"true" 
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:30.095 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 001ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
554ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ac3ee940-4f98-427c-a2d9-58696005d9c2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac3ee940-4f98-427c-a2d9-58696005d9c2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:30.645 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.bbb462ca-d8a0-4582-a9f6-9707e3e953a3?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:30.647 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:30.647 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:30.648 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:30.648 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:30.649 [print] https://haleconnect.com/services/bsp/org.874.bbb462ca-d8a0-4582-a9f6-9707e3e953a3/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:30.650 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:30.651 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:30.652 [print] true 
* eval db.writeln('"ac3ee940-4f98-427c-a2d9-58696005d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ac3ee940-4f98-427c-a2d9-58696005d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ac3ee940-4f98-427c-a2d9-58696005d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:30.153 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
569ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '257b960c-ece6-4e0f-b893-77b219c6133f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 552ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '257b960c-ece6-4e0f-b893-77b219c6133f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 005ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:30.718 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.6f95c52b-e32a-43d5-a057-bac1f7ba2a42?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:30.719 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:30.719 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:30.720 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:30.720 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:30.721 [print] https://haleconnect.com/services/bsp/org.874.6f95c52b-e32a-43d5-a057-bac1f7ba2a42/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:30.722 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:30.723 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:30.724 [print] true 
* eval db.writeln('"257b960c-ece6-4e0f-b893-77b219c6133f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"257b960c-ece6-4e0f-b893-77b219c6133f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"257b960c-ece6-4e0f-b893-77b219c6133f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:30.318 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7d641d0e-c04b-4191-833e-c578ac2abe5f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 529ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7d641d0e-c04b-4191-833e-c578ac2abe5f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:30.856 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.83f948b1-9293-4926-b64d-40857c792f1e?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:30.857 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:30.858 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:30.858 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:30.859 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:30.859 [print] https://haleconnect.com/services/bsp/org.874.83f948b1-9293-4926-b64d-40857c792f1e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:30.860 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:30.861 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:30.862 [print] true 
* eval db.writeln('"7d641d0e-c04b-4191-833e-c578ac2abe5f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7d641d0e-c04b-4191-833e-c578ac2abe5f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7d641d0e-c04b-4191-833e-c578ac2abe5f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:30.608 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b4b59b2c-156d-412e-b8f0-c0779402de80' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4b59b2c-156d-412e-b8f0-c0779402de80' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:31.155 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.c7d1b83d-8237-44c4-9e07-420eb63dcf84?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:31.156 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:31.157 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:31.157 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:31.158 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:31.158 [print] https://haleconnect.com/services/bsp/org.874.c7d1b83d-8237-44c4-9e07-420eb63dcf84/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:31.160 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:31.161 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:31.162 [print] true 
* eval db.writeln('"b4b59b2c-156d-412e-b8f0-c0779402de80","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b4b59b2c-156d-412e-b8f0-c0779402de80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b4b59b2c-156d-412e-b8f0-c0779402de80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:30.655 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
544ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f39d198a-1e69-43cc-b359-cc60a8c22d28' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 526ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f39d198a-1e69-43cc-b359-cc60a8c22d28' 006ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:31.195 [print] https://inspire.rivm.nl/sos/eaq/service?service=AQD&version=1.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:31.196 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:31.197 [print] OGC:SOS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:31.197 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:31.198 [print] RIVM 
* print operateson 000ms
04:56:31.198 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=733559a5-201d-40e5-ad43-d1c7bae84d9f","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=af135cd8-d429-4fc7-b9e3-09e15217520d","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=b3ec8793-7747-4da0-b6c3-aa384446a586","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5800f3b0-2ea2-4231-8165-216a7b26867f","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d8f370e8-123c-4ab3-9410-04f728327ac6","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=500d396f-5ec6-4e4b-a151-5fb3cddd8082"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:31.199 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:31.200 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Voldoet aan de SDS interoperabilities specificaties.";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Voldoet aan de download specificaties";"OGC Sensor Observation Service Interface Standard";"Conform OGC SOS specificaties" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:31.201 [print] "true";"true";"true" 
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:30.727 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
546ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '66805d91-a5f6-4265-bd36-ef13a429c97e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '66805d91-a5f6-4265-bd36-ef13a429c97e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:31.268 [print] https://geodata.nationaalgeoregister.nl/bzk/bro-bodemkaart/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:31.269 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:31.270 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:31.270 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:31.271 [print] Beheer PDOK 
* print operateson 000ms
04:56:31.271 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:31.273 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:31.274 [print] #notpresent 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:31.275 [print] #notpresent 
* eval db.writeln('"66805d91-a5f6-4265-bd36-ef13a429c97e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"66805d91-a5f6-4265-bd36-ef13a429c97e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"66805d91-a5f6-4265-bd36-ef13a429c97e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:30.865 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
564ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '018a28a5-1019-4747-b031-f66ffc1c6ae7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 548ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '018a28a5-1019-4747-b031-f66ffc1c6ae7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:31.423 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-ro\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:31.424 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:31.425 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:31.426 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:31.426 [print] Beheer PDOK 
* print operateson 000ms
04:56:31.427 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:31.428 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:31.429 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:31.431 [print] "true";"true" 
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:31.165 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
545ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '56093b94-7517-456d-a0d4-338aba3d8c74' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 526ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '56093b94-7517-456d-a0d4-338aba3d8c74' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:31.705 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.0cd1d698-2439-4ebd-ae2c-71dd98d9b3d1?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:31.706 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:31.707 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:31.707 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:31.708 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:31.708 [print] https://haleconnect.com/services/bsp/org.874.0cd1d698-2439-4ebd-ae2c-71dd98d9b3d1/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:31.710 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:31.711 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:31.712 [print] true 
* eval db.writeln('"56093b94-7517-456d-a0d4-338aba3d8c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"56093b94-7517-456d-a0d4-338aba3d8c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"56093b94-7517-456d-a0d4-338aba3d8c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:31.205 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
538ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c1fb5983-5642-4334-962a-a341cef8c8ff' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 526ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c1fb5983-5642-4334-962a-a341cef8c8ff' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:31.739 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.0cd1d698-2439-4ebd-ae2c-71dd98d9b3d1?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:31.740 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:31.741 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:31.741 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:31.742 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:31.742 [print] https://haleconnect.com/services/bsp/org.874.0cd1d698-2439-4ebd-ae2c-71dd98d9b3d1/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:31.743 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:31.744 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:31.745 [print] true 
* eval db.writeln('"c1fb5983-5642-4334-962a-a341cef8c8ff","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c1fb5983-5642-4334-962a-a341cef8c8ff","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c1fb5983-5642-4334-962a-a341cef8c8ff","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:31.278 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b81f9ce3-f612-4761-ba37-4c8afda9033a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b81f9ce3-f612-4761-ba37-4c8afda9033a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:31.816 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.6f95c52b-e32a-43d5-a057-bac1f7ba2a42?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:31.817 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:31.818 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:31.818 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:31.819 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:31.819 [print] https://haleconnect.com/services/bsp/org.874.6f95c52b-e32a-43d5-a057-bac1f7ba2a42/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:31.820 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:31.821 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:31.822 [print] true 
* eval db.writeln('"b81f9ce3-f612-4761-ba37-4c8afda9033a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b81f9ce3-f612-4761-ba37-4c8afda9033a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b81f9ce3-f612-4761-ba37-4c8afda9033a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:31.434 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
536ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c6308500-3439-4840-88cb-7532cabbfcb4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 515ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c6308500-3439-4840-88cb-7532cabbfcb4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:31.959 [print] https://haleconnect.com/ows/services/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 007ms
* print protocol1 000ms
04:56:31.967 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:31.967 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:31.968 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:31.968 [print] KNMI 
* print operateson 000ms
04:56:31.969 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:31.970 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:31.971 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:31.972 [print] true 
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:31.716 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
543ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2f28bd85-0afc-4dc1-85f3-dac55c1b485e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2f28bd85-0afc-4dc1-85f3-dac55c1b485e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:32.255 [print] https://haleconnect.com/ows/services/org.874.c4108a11-bdbb-4461-8902-423531561a7e_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:32.256 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:32.257 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:32.257 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:32.258 [print] KNMI 
* print operateson 000ms
04:56:32.258 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:32.259 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:32.260 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:32.261 [print] true 
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:31.748 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '35546103-58eb-4f61-a858-a6fbc5a7e814' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '35546103-58eb-4f61-a858-a6fbc5a7e814' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:32.285 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.9934d92c-25d3-4fb8-9269-cf1ddbf9def0?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:32.286 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:32.287 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:32.287 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:32.288 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:32.288 [print] https://haleconnect.com/services/bsp/org.874.9934d92c-25d3-4fb8-9269-cf1ddbf9def0/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:32.290 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:32.291 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:32.292 [print] true 
* eval db.writeln('"35546103-58eb-4f61-a858-a6fbc5a7e814","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"35546103-58eb-4f61-a858-a6fbc5a7e814","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"35546103-58eb-4f61-a858-a6fbc5a7e814","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:31.826 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
537ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a7e4bc31-60c1-4b78-bef1-eed768ceafa0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 523ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7e4bc31-60c1-4b78-bef1-eed768ceafa0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:32.358 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:32.359 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:32.360 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:32.360 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:32.361 [print] KNMI 
* print operateson 000ms
04:56:32.361 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:32.363 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:32.364 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:32.365 [print] true 
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:31.975 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '97312a37-4ebf-4526-94e6-b29e90c2944a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 538ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97312a37-4ebf-4526-94e6-b29e90c2944a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:32.522 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.42282e73-5afb-424d-993a-9e0a0cd3eeca?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:32.523 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:32.524 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:32.524 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:32.525 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:32.525 [print] https://haleconnect.com/services/bsp/org.874.42282e73-5afb-424d-993a-9e0a0cd3eeca/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:32.526 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:32.527 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:32.528 [print] true 
* eval db.writeln('"97312a37-4ebf-4526-94e6-b29e90c2944a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"97312a37-4ebf-4526-94e6-b29e90c2944a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"97312a37-4ebf-4526-94e6-b29e90c2944a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:32.264 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
554ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e75b66ae-21b1-4303-aeb3-787608707b23' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e75b66ae-21b1-4303-aeb3-787608707b23' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:32.814 [print] https://geodata.nationaalgeoregister.nl/inspire/elu/wfs?request=GetCapabilitiesservice=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:32.814 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:32.815 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:32.815 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:32.816 [print] Beheer PDOK 
* print operateson 000ms
04:56:32.816 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:32.818 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:32.819 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:32.820 [print] "true";"true" 
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:32.301 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
545ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '914a6e0c-2aae-42f8-8425-2a047c245dab' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '914a6e0c-2aae-42f8-8425-2a047c245dab' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:32.842 [print] https://haleconnect.com/ows/services/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:32.843 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:32.844 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:32.844 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:32.845 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:32.845 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:32.847 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:32.848 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:32.848 [print] true 
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:32.370 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eec0708d-bab6-41c2-aa5b-9c435a1a177e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 538ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eec0708d-bab6-41c2-aa5b-9c435a1a177e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:32.917 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:32.918 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:32.918 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:32.919 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:32.919 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:32.919 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:32.921 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:32.921 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:32.922 [print] true 
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:32.532 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
552ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1e01d173-96f4-40b1-8236-c6a9cfdac252' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1e01d173-96f4-40b1-8236-c6a9cfdac252' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 006ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:33.079 [print] https://haleconnect.com/ows/services/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:33.080 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:33.081 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:33.082 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:33.083 [print] KNMI 
* print operateson 000ms
04:56:33.083 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:33.084 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:33.085 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:33.086 [print] true 
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:32.823 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
543ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '92826f1e-040d-4099-b9e1-cab6bfc520af' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 523ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '92826f1e-040d-4099-b9e1-cab6bfc520af' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 002ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:33.357 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.c7d1b83d-8237-44c4-9e07-420eb63dcf84?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:33.358 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:33.359 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:33.359 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:33.360 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:33.360 [print] https://haleconnect.com/services/bsp/org.874.c7d1b83d-8237-44c4-9e07-420eb63dcf84/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 004ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:33.366 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:33.367 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:33.368 [print] true 
* eval db.writeln('"92826f1e-040d-4099-b9e1-cab6bfc520af","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"92826f1e-040d-4099-b9e1-cab6bfc520af","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"92826f1e-040d-4099-b9e1-cab6bfc520af","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:32.852 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
545ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a149d97f-0d55-462e-9956-5b47bea00a8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 527ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a149d97f-0d55-462e-9956-5b47bea00a8d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 005ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:33.392 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.9934d92c-25d3-4fb8-9269-cf1ddbf9def0?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:33.393 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:33.394 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:33.394 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:33.395 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:33.395 [print] https://haleconnect.com/services/bsp/org.874.9934d92c-25d3-4fb8-9269-cf1ddbf9def0/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:33.396 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:33.397 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:33.398 [print] true 
* eval db.writeln('"a149d97f-0d55-462e-9956-5b47bea00a8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a149d97f-0d55-462e-9956-5b47bea00a8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a149d97f-0d55-462e-9956-5b47bea00a8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:32.925 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
539ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7d533012-21ad-4a5b-a97e-a76988270273' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 526ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7d533012-21ad-4a5b-a97e-a76988270273' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:33.460 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:33.461 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:33.462 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:33.462 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:33.463 [print] KNMI 
* print operateson 000ms
04:56:33.463 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:33.465 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:33.466 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:33.467 [print] true 
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:33.101 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 002ms
Tags: @step1
539ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '94ed09fe-1753-4861-8c62-d66251b7cde3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 525ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94ed09fe-1753-4861-8c62-d66251b7cde3' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:33.637 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.42282e73-5afb-424d-993a-9e0a0cd3eeca?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:33.638 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:33.639 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:33.639 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:33.639 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:33.640 [print] https://haleconnect.com/services/bsp/org.874.42282e73-5afb-424d-993a-9e0a0cd3eeca/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:33.642 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:33.643 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:33.648 [print] true 
* eval db.writeln('"94ed09fe-1753-4861-8c62-d66251b7cde3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"94ed09fe-1753-4861-8c62-d66251b7cde3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"94ed09fe-1753-4861-8c62-d66251b7cde3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:33.372 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 003ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
541ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '742cb4fc-62cb-4db1-86ce-9f0fd9e1a65b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 527ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '742cb4fc-62cb-4db1-86ce-9f0fd9e1a65b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:33.912 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.bbb462ca-d8a0-4582-a9f6-9707e3e953a3?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:33.913 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:33.914 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:33.914 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:33.914 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:33.915 [print] https://haleconnect.com/services/bsp/org.874.bbb462ca-d8a0-4582-a9f6-9707e3e953a3/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:33.916 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:33.917 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:33.918 [print] true 
* eval db.writeln('"742cb4fc-62cb-4db1-86ce-9f0fd9e1a65b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"742cb4fc-62cb-4db1-86ce-9f0fd9e1a65b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"742cb4fc-62cb-4db1-86ce-9f0fd9e1a65b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:33.402 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
543ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ebd029f5-6e8f-4d61-b89a-11427c96bf3a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd029f5-6e8f-4d61-b89a-11427c96bf3a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:33.941 [print] https:\/\/inspire.caris.nl\/gs4\/LAT2018OF\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:33.942 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:33.943 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:33.943 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:33.944 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:33.944 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:33.945 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:33.946 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:33.947 [print] "true";"true" 
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:33.473 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
544ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '03c48a93-1e31-4c69-92c6-9a7efecf67a9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c48a93-1e31-4c69-92c6-9a7efecf67a9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:34.012 [print] https://geodata.nationaalgeoregister.nl/digitaaltopografischbestand/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:34.012 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:34.014 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:34.014 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:34.015 [print] Beheer PDOK 
* print operateson 000ms
04:56:34.015 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4b137b8-2317-42c2-aced-204c4216d68d&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4bed072-0fda-47b8-96fa-457a938b88fc&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3229e4d7-4bcd-4b94-819d-8e62de69ce2e&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:34.017 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:34.018 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:34.019 [print] "true";"true" 
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:33.652 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '24055de7-dcff-487a-8f9a-7aee4f0d8351' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '24055de7-dcff-487a-8f9a-7aee4f0d8351' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:34.195 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.83f948b1-9293-4926-b64d-40857c792f1e?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:34.196 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:34.197 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:34.197 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:34.198 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:34.198 [print] https://haleconnect.com/services/bsp/org.874.83f948b1-9293-4926-b64d-40857c792f1e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:34.199 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:34.200 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:34.201 [print] true 
* eval db.writeln('"24055de7-dcff-487a-8f9a-7aee4f0d8351","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"24055de7-dcff-487a-8f9a-7aee4f0d8351","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"24055de7-dcff-487a-8f9a-7aee4f0d8351","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:33.921 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7f79fc69-d0c7-4913-a05a-527c90453297' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7f79fc69-d0c7-4913-a05a-527c90453297' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:34.460 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:34.461 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:34.461 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:34.462 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:34.462 [print] KNMI 
* print operateson 000ms
04:56:34.462 [print] https://haleconnect.com/services/bsp/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:34.464 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:34.465 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:34.466 [print] true 
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:33.955 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
567ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-75565-db8b-4df7-a3a6-0e9ca5289e5e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 556ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-75565-db8b-4df7-a3a6-0e9ca5289e5e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:34.519 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.2350b86b-3efd-47e4-883e-519bfa8d0aba_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:34.520 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:34.520 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:34.521 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:34.521 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:34.521 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:34.523 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:34.524 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:34.524 [print] "true";"true" 
* eval db.writeln('"eu-75565-db8b-4df7-a3a6-0e9ca5289e5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-75565-db8b-4df7-a3a6-0e9ca5289e5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-75565-db8b-4df7-a3a6-0e9ca5289e5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:34.023 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
564ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-6144d-231b-4a52-91d5-edde65076aff' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 545ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-6144d-231b-4a52-91d5-edde65076aff' 006ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:34.581 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.2350b86b-3efd-47e4-883e-519bfa8d0aba_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:34.582 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:34.583 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:34.584 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:34.585 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:34.585 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:34.587 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:34.588 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:34.589 [print] true 
* eval db.writeln('"eu-6144d-231b-4a52-91d5-edde65076aff","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-6144d-231b-4a52-91d5-edde65076aff","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-6144d-231b-4a52-91d5-edde65076aff","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:34.204 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
546ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:34.744 [print] https://inspire.caris.nl/geoserver3/rws/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:34.745 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:34.746 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:34.746 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:34.747 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:34.747 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:34.749 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:34.750 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:34.752 [print] "false";"true" 
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:34.469 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
566ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 541ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 003ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:35.025 [print] https:\/\/www.rijkswaterstaat.nl\/apps\/geoservices\/geodata\/dmc\/bodemhoogte_1mtr_insp 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:35.026 [print] ["landingpage","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:35.027 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:35.028 [print] ["landingpage","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:35.029 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:35.029 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:35.031 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:35.033 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:35.034 [print] "true";"true" 
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 003ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:34.527 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
564ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 541ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 006ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:35.084 [print] https:\/\/geo.rijkswaterstaat.nl\/services\/ogc\/gdr\/bodemhoogte_1mtr\/ows?service=WCS&request=getcapabilities&version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:35.085 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:35.086 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:35.087 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:35.088 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:35.088 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:35.091 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/download-wcs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:35.092 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:35.093 [print] "false";"true" 
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:34.592 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
544ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'adn83730-e750-485a-9c0c-39bf9bt72cf8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn83730-e750-485a-9c0c-39bf9bt72cf8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:35.133 [print] https://www.rijkswaterstaat.nl/apps/geoservices/geodata/dmc/bodemhoogte_5mtr_atom_index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:35.133 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:35.134 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:35.134 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:35.135 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:35.135 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:35.137 [print] http://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-download-services 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:35.137 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:35.138 [print] "true";"true" 
* eval db.writeln('"adn83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"adn83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"adn83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:34.755 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-rsa-9d36-46ce-8ac9-a208103c218e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 537ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-rsa-9d36-46ce-8ac9-a208103c218e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 006ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:35.308 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.cefad637-5ffd-4dd0-b475-bc125a11f7e6_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:35.308 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:35.309 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:35.309 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:35.310 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:35.310 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:35.312 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:35.313 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:35.313 [print] "true";"true" 
* eval db.writeln('"eu-rsa-9d36-46ce-8ac9-a208103c218e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-rsa-9d36-46ce-8ac9-a208103c218e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-rsa-9d36-46ce-8ac9-a208103c218e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:35.040 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-rsa-365c-4848-b885-5823259ca7c9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-rsa-365c-4848-b885-5823259ca7c9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 004ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:35.587 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.cefad637-5ffd-4dd0-b475-bc125a11f7e6_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:35.588 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:35.588 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:35.588 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:35.589 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:35.589 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:35.591 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:35.591 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:35.592 [print] true 
* eval db.writeln('"eu-rsa-365c-4848-b885-5823259ca7c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-rsa-365c-4848-b885-5823259ca7c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-rsa-365c-4848-b885-5823259ca7c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:35.097 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-rsa-ce69-4ce4-b853-4ab65f6a424d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-rsa-ce69-4ce4-b853-4ab65f6a424d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:35.637 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.917b5ba0-4fdd-4654-8c18-b3ccdadaa550_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 005ms
* print protocol1 000ms
04:56:35.642 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:35.643 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:35.643 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:35.644 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:35.644 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:35.646 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:35.646 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:35.647 [print] "true";"true" 
* eval db.writeln('"eu-rsa-ce69-4ce4-b853-4ab65f6a424d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-rsa-ce69-4ce4-b853-4ab65f6a424d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-rsa-ce69-4ce4-b853-4ab65f6a424d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:35.141 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-rsa-e89d-441f-a848-9e4fe5d48400' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-rsa-e89d-441f-a848-9e4fe5d48400' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:35.684 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.917b5ba0-4fdd-4654-8c18-b3ccdadaa550_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:35.684 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:35.685 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:35.686 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:35.687 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:35.687 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:35.689 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:35.690 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:35.691 [print] true 
* eval db.writeln('"eu-rsa-e89d-441f-a848-9e4fe5d48400","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-rsa-e89d-441f-a848-9e4fe5d48400","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-rsa-e89d-441f-a848-9e4fe5d48400","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:35.317 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
569ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'tbjk534p-wubf-crbp-cj25-d41611f0gfim' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 549ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611f0gfim' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 005ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:35.881 [print] https:\/\/marineprojects.openearth.nl\/geoserver\/ihm_krm\/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:35.882 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:35.882 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:35.883 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:35.884 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:35.884 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=tbjk534p-wubf-crbp-cj25-d4161160gfim#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:35.886 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:35.887 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:35.888 [print] true 
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:35.595 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'tbjk534p-wubf-crbp-cj25-d41611m0gfim' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 527ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611m0gfim' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 007ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:36.139 [print] https:\/\/marineprojects.openearth.nl\/geoserver\/ihm_krm\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:36.140 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:36.141 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:36.141 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:36.142 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:36.143 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=tbjk534p-wubf-crbp-cj25-d4161160gfim#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:36.145 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:36.146 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:36.147 [print] "true";"true" 
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
006ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:35.650 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 005ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'wt-43309-c655-4e64-b914-149050fd479c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-43309-c655-4e64-b914-149050fd479c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:36.196 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.504afbe6-0069-411b-b69b-2aae3728f735_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 004ms
* print protocol1 000ms
04:56:36.200 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:36.200 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:36.201 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:36.201 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:36.201 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 003ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:36.206 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:36.207 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:36.208 [print] "true";"true" 
* eval db.writeln('"wt-43309-c655-4e64-b914-149050fd479c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"wt-43309-c655-4e64-b914-149050fd479c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"wt-43309-c655-4e64-b914-149050fd479c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:35.695 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'wt-c9463-a3da-401d-8251-8c6664865e0c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-c9463-a3da-401d-8251-8c6664865e0c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:36.236 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.504afbe6-0069-411b-b69b-2aae3728f735_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:36.237 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:36.238 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:36.239 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:36.240 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:36.240 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:36.242 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:36.243 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:36.244 [print] true 
* eval db.writeln('"wt-c9463-a3da-401d-8251-8c6664865e0c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"wt-c9463-a3da-401d-8251-8c6664865e0c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"wt-c9463-a3da-401d-8251-8c6664865e0c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:35.891 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
524ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-7ab54-da5c-46ea-a5b5-53df01873240' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 505ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-7ab54-da5c-46ea-a5b5-53df01873240' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 005ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:36.410 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:36.411 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:36.412 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:36.412 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:36.413 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:36.413 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:36.415 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:36.416 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:36.417 [print] "true";"true" 
* eval db.writeln('"eu-7ab54-da5c-46ea-a5b5-53df01873240","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-7ab54-da5c-46ea-a5b5-53df01873240","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-7ab54-da5c-46ea-a5b5-53df01873240","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:36.151 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
537ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-d9417-a69f-4665-bc42-8c6d84e5dedb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 523ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-d9417-a69f-4665-bc42-8c6d84e5dedb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:36.682 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:36.683 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:36.684 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:36.684 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:36.685 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:36.685 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:36.687 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:36.688 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:36.689 [print] true 
* eval db.writeln('"eu-d9417-a69f-4665-bc42-8c6d84e5dedb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-d9417-a69f-4665-bc42-8c6d84e5dedb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-d9417-a69f-4665-bc42-8c6d84e5dedb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:36.211 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-ecda1-2216-4100-96dc-6bede78f9813' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-ecda1-2216-4100-96dc-6bede78f9813' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:36.756 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.7c48322f-f9cf-4a08-aa63-c4de080c13a1_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:36.756 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:36.757 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:36.758 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:36.759 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:36.759 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-9d8e-4758-83fx-28b057f185e1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:36.761 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:36.762 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:36.763 [print] "true";"true" 
* eval db.writeln('"eu-ecda1-2216-4100-96dc-6bede78f9813","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-ecda1-2216-4100-96dc-6bede78f9813","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-ecda1-2216-4100-96dc-6bede78f9813","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:36.247 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
554ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-e37cb-537f-4d98-8c03-820ee2d872d6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 540ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-e37cb-537f-4d98-8c03-820ee2d872d6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:36.795 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.7c48322f-f9cf-4a08-aa63-c4de080c13a1_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:36.796 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:36.797 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:36.798 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:36.799 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:36.799 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-9d8e-4758-83fx-28b057f185e1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:36.800 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:36.801 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:36.803 [print] true 
* eval db.writeln('"eu-e37cb-537f-4d98-8c03-820ee2d872d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-e37cb-537f-4d98-8c03-820ee2d872d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-e37cb-537f-4d98-8c03-820ee2d872d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:36.421 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
586ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-7e931-e1b9-4512-9ca2-61526439fd7b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 572ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-7e931-e1b9-4512-9ca2-61526439fd7b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:37.002 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.6cef2128-a227-4aa7-bc74-0e3797644d51_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:37.003 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:37.004 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:37.004 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:37.005 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:37.005 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:37.007 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:37.008 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:37.009 [print] "true";"true" 
* eval db.writeln('"eu-7e931-e1b9-4512-9ca2-61526439fd7b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-7e931-e1b9-4512-9ca2-61526439fd7b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-7e931-e1b9-4512-9ca2-61526439fd7b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:36.692 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
560ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-3b602-8cbf-4cf0-9ce6-1b201e230ef1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 546ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-3b602-8cbf-4cf0-9ce6-1b201e230ef1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:37.248 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.6cef2128-a227-4aa7-bc74-0e3797644d51_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:37.249 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:37.250 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:37.250 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:37.251 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:37.251 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:37.252 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:37.253 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:37.254 [print] true 
* eval db.writeln('"eu-3b602-8cbf-4cf0-9ce6-1b201e230ef1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-3b602-8cbf-4cf0-9ce6-1b201e230ef1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-3b602-8cbf-4cf0-9ce6-1b201e230ef1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:36.767 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
551ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cf69ec50-9849-4afd-853c-ee56211d336d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee56211d336d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 004ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:37.313 [print] https:\/\/waterwebservices.rijkswaterstaat.nl\/services\/distributielaagWFS\/distributielaag_dbo?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:37.313 [print] ["OGC:WMS","OGC:WMS","OGC:WFS","OGC:WFS","landingpage"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:37.314 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:37.314 [print] ["OGC:WMS","OGC:WMS","OGC:WFS","OGC:WFS","landingpage"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:37.315 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:37.315 [print] #notpresent 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:37.317 [print] "https:\/\/inspire.ec.europa.eu\/documents\/commission-regulation-eu-no-10892010-23-november-2010-implementing-directive-20072ec";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/ef";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/of" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:37.318 [print] "De hier gehanteerde domeinen wijken af van de domeinen uit de dataspecificaties van INSPlRE";"De data wijkt af van de dataspecificaties op dit thema van INSPlRE";"De data wijkt af van de dataspecificaties op dit thema van INSPlRE" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:37.319 [print] "false";"false";"false" 
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee56211d336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee56211d336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee56211d336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:36.806 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cf69ec50-9849-4afd-853c-ee5621fd336d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621fd336d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:37.347 [print] https:\/\/waterwebservices.rijkswaterstaat.nl\/services\/distributielaagWFS\/distributielaag_dbo?service=WFS&version=1.1.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:37.348 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:37.349 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:37.349 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:37.350 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:37.350 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cf69ec50-9849-4afd-853c-ee56211d336d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:37.352 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 004ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:37.357 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:37.358 [print] false 
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:37.012 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
540ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cf69ec50-9849-4afd-853c-ee5621md336d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 526ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621md336d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:37.547 [print] https:\/\/waterwebservices.rijkswaterstaat.nl\/services\/distributielaagWFS\/distributielaag_dbo?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:37.548 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:37.549 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:37.549 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:37.550 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:37.550 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cf69ec50-9849-4afd-853c-ee56211d336d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:37.551 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:37.552 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:37.553 [print] "false";"true" 
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:37.257 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
542ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 527ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:37.793 [print] https:\/\/waterwebservices.rijkswaterstaat.nl\/services\/distributielaagWFS\/distributielaag_dbo?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:37.794 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:37.795 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:37.795 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:37.796 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:37.796 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:37.798 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:37.799 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:37.801 [print] "true";"true" 
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:37.322 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
532ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 516ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:37.847 [print] https:\/\/waterwebservices.rijkswaterstaat.nl\/services\/distributielaagWFS\/distributielaag_dbo?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:37.848 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:37.849 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:37.850 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:37.851 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:37.851 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:37.853 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:37.854 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:37.855 [print] true 
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:37.361 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
546ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3e65fa1b-9bb1-41bd-9760-76962751b839' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 527ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e65fa1b-9bb1-41bd-9760-76962751b839' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:37.897 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/verkeersscheidingsstelsel\/wms\/v2_0?service=WMS&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:37.898 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:37.899 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:37.900 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:37.901 [print] Beheer PDOK 
* print operateson 000ms
04:56:37.901 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 004ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:37.907 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:37.908 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:37.910 [print] "true";"true" 
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:37.556 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
549ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 532ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:38.098 [print] https://inspire.caris.nl/geoserver3/rws/wcs?service=WCS&version=2.0.1&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:38.099 [print] OGC:WCS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:38.100 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:38.100 [print] OGC:WCS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:38.100 [print] Rijkswaterstaat 
* print operateson 000ms
04:56:38.101 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:38.104 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/download-wcs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:38.106 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:38.107 [print] "true";"true" 
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:37.804 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
550ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5dfccef3-9b52-47f2-bb02-66b74aaf3af8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 530ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5dfccef3-9b52-47f2-bb02-66b74aaf3af8' 008ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:38.350 [print] https://inspire.caris.nl/geoserver/auwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:38.351 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:38.352 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:38.352 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:38.353 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:56:38.353 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4d514a2b-4a7e-4686-b9ea-87cb3e17ed52&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:38.354 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:38.355 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:38.355 [print] "true";"true" 
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:37.859 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
543ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '93a9571d-1754-47ee-a8f9-92633abfab3a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 529ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93a9571d-1754-47ee-a8f9-92633abfab3a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:38.397 [print] https://service.pdok.nl/rvo/invasieve-exoten/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:38.398 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:38.399 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:38.399 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:38.400 [print] Beheer PDOK 
* print operateson 000ms
04:56:38.400 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3703b249-a0eb-484e-ba7a-10e31a55bcec&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:38.402 [print] "http:\/\/";"";"http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:38.403 [print] "";"Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:38.404 [print] "true";"true";"true" 
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:37.913 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
553ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '42f5363b-cea7-4163-a4e9-bc2d1a7a243c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 534ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42f5363b-cea7-4163-a4e9-bc2d1a7a243c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 008ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:38.463 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartspoorwegennacht/v1/wfs?service=WFS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:38.464 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:38.464 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:38.465 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:38.465 [print] Beheer PDOK 
* print operateson 000ms
04:56:38.465 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:38.467 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:38.468 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:38.468 [print] "true";"true" 
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:38.111 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
659ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '62dc32f1-853c-416a-876b-6e083554f1b6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 637ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62dc32f1-853c-416a-876b-6e083554f1b6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:38.756 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartspoorwegenetmaal/v1/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:56:38.757 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:38.757 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:38.758 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:38.758 [print] Beheer PDOK 
* print operateson 000ms
04:56:38.758 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 009ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:38.769 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:38.770 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:38.771 [print] "true";"true" 
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:38.359 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
556ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e264c1e4-90fe-4968-bbf2-7019f6095348' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 542ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e264c1e4-90fe-4968-bbf2-7019f6095348' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:38.909 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartspoorwegenetmaal/v1/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:38.910 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:38.911 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:38.911 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:38.912 [print] Beheer PDOK 
* print operateson 000ms
04:56:38.912 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:38.914 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:38.915 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:38.916 [print] "true";"true" 
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:38.407 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
558ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:38.948 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholetmaal/v2/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:38.949 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:38.950 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:38.950 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:38.951 [print] Beheer PDOK 
* print operateson 000ms
04:56:38.951 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:38.952 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:38.954 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 012ms
* print corConformancePass 000ms
04:56:38.967 [print] "true";"true" 
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:38.471 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
570ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a1ed8a00-da07-472e-9627-99175d437c94' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 553ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1ed8a00-da07-472e-9627-99175d437c94' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:39.033 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholetmaal/v2/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:39.033 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 004ms
* print protocol2 000ms
04:56:39.038 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:39.038 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:39.039 [print] Beheer PDOK 
* print operateson 000ms
04:56:39.039 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:39.041 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:39.042 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:39.043 [print] "true";"true" 
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:38.774 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
574ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6a129fd1-0988-4b8a-975a-6ff134b6754a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 562ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6a129fd1-0988-4b8a-975a-6ff134b6754a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:39.345 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartspoorwegennacht/v1/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:39.346 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:39.346 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:39.346 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:39.347 [print] Beheer PDOK 
* print operateson 000ms
04:56:39.347 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:39.349 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:39.349 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:39.350 [print] "true";"true" 
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:38.920 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
555ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c474b492-da63-4a33-9bdd-b3709ce2cd6c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 541ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c474b492-da63-4a33-9bdd-b3709ce2cd6c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:39.470 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholnacht/v2/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:39.471 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:39.472 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:39.472 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:39.473 [print] Beheer PDOK 
* print operateson 000ms
04:56:39.473 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:39.474 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:39.475 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:39.476 [print] "true";"true" 
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:38.971 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
546ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7827b68f-647e-46cc-a02a-cac48eaa5dda' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 533ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7827b68f-647e-46cc-a02a-cac48eaa5dda' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:39.513 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholnacht/v2/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:39.513 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:39.514 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:39.514 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:39.515 [print] Beheer PDOK 
* print operateson 000ms
04:56:39.515 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:39.517 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:39.518 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:39.518 [print] "true";"true" 
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:39.046 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
547ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ceda1b88-32ac-40b2-a841-71eb041c9427' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 531ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ceda1b88-32ac-40b2-a841-71eb041c9427' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:39.588 [print] https:\/\/geodata.nationaalgeoregister.nl\/reststromen\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:39.588 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:39.589 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:39.589 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:39.591 [print] Beheer PDOK 
* print operateson 000ms
04:56:39.591 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:39.592 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:39.593 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:39.595 [print] "true";"true" 
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:39.353 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
539ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '972edbaa-f860-4c48-b449-4f238a263472' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 526ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '972edbaa-f860-4c48-b449-4f238a263472' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:39.888 [print] https://geodata.nationaalgeoregister.nl/restwarmte/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:39.889 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:39.890 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:39.890 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:39.891 [print] Beheer PDOK 
* print operateson 000ms
04:56:39.891 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:39.892 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:39.893 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:39.894 [print] "true";"true" 
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:39.479 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
558ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6d86c14f-cccf-41e9-a58e-ead9d52ae35d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 546ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d86c14f-cccf-41e9-a58e-ead9d52ae35d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:40.034 [print] http://data.waterkwaliteitsportaal.nl/inspire/vs/AM 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:40.035 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:40.035 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:40.036 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:40.036 [print] Informatiehuis Water 
* print operateson 000ms
04:56:40.036 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:40.038 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:40.039 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Zie de gerefereerde specificatie.";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:40.039 [print] "false";"true";"true" 
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:39.522 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
566ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 553ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:40.083 [print] https://haleconnect.com/ows/services/org.874.28716afd-1e98-4623-9239-8abbd9249408_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:40.084 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:40.085 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:40.085 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:56:40.086 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:40.086 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:40.088 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:40.088 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:40.089 [print] true 
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:39.598 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
534ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8a772a52-d659-47b3-a131-82398fb78664' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 520ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8a772a52-d659-47b3-a131-82398fb78664' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:40.127 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:40.128 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:56:40.128 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:40.128 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:40.129 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:40.129 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:40.132 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:40.132 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:40.133 [print] true 
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:56:39.897 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
548ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '12505d53-a942-467e-a462-ddbe5ac6467f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 535ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '12505d53-a942-467e-a462-ddbe5ac6467f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:56:40.440 [print] https://haleconnect.com/ows/services/org.874.28716afd-1e98-4623-9239-8abbd9249408_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:56:40.441 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:56:40.442 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:56:40.442 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:56:40.443 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:56:40.443 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:56:40.444 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:56:40.445 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:56:40.446 [print] true 
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms